Re: [PHP] hiding passwd in cmdlines that appear in the process list

2006-11-30 Thread Edwin Barrios
Hi !. I don't know if my solution is better or not. but in one of my programs i had to make a backup online then my solution was to use shell vars to put important information like db_password . When we use putenv function those var only exists on the current shell and on its subshells. In your

Re: [PHP] hiding passwd in cmdlines that appear in the process list

2006-11-30 Thread Edwin Barrios
On 11/30/06, Richard Lynch [EMAIL PROTECTED] wrote: On Thu, November 30, 2006 9:59 am, Edwin Barrios wrote: I don't know if my solution is better or not. but in one of my programs i had to make a backup online then my solution was to use shell vars to put important information like

Re: [PHP] hiding passwd in cmdlines that appear in the process list

2006-11-30 Thread Edwin Barrios
Hi .! First of all . Pardon if my last mail was not undestable !! Then Richrad said that, the following is a cons of my solution : A simple debug statement to dump out all of ENV / $_GLOBALS will expose the password. So you have to ask yourself if you and all your employees and all the

Re: [PHP] Multi-threaded port listener

2006-04-28 Thread Edwin Barrios
Hi. If you want a separate script execution, you can use inetd o xinetd to listen for you that port. When inetd got a connection execute your php script, one execution by connection. I think that it is more usefull to create your own responser server with php using forks !. But using inetd has

Re: [PHP] Re: Using GPG in Safe Mode

2006-01-19 Thread Edwin Barrios
Hi, emil Using safe_mode_exec_dir, it's a solution if you has access to your php.ini or http.conf, because it's a PHP_INI_SYSTEM var. For these reason you can't set this var with ini_set() function on a php script. If your ISP has a very restricted setting, i think that the solutions that comex

Re: [PHP] Using GPG in Safe Mode

2006-01-17 Thread Edwin Barrios
Hi emil ! If you are using gnupg comand line, there is not way on PHP-safe mode. The only way that i know to wrap around this problem it's install pecl extension package calls gnupg (http://pecl.php.net/package/gnupg). This extension use libgpgme that bind all gnupg comand line options, then it

Re: [PHP] how to create a php5 extensions on C/C++, reflecting php Class Api's ?

2005-12-30 Thread Edwin Barrios
Hello Gustavo. ! Thanks for your suggestion, that book it's a interesting material to learn more advanced features of PHP5 and to begin on the C extentions world. The chapter 15 only take a look to extends PHP5 funtions, but there is none section on how to create a PHP5 Class on the C

[PHP] how to create a php5 extensions on C/C++, reflecting php Class Api's ?

2005-12-27 Thread Edwin Barrios
Hi,I'm a PHP web programing, but i wanna learn how to develop php5 extensions on C/C++. I found php5 a good language to apply Objects programing, and it has very usefull examples of OO extensions as SimpleXML, DOM, Sqlite; for this reason i wanna develope my extension following those styles of

Re: [PHP] Where can i find docs to create a php5 extensions with OOP as SimpleXML?

2005-11-27 Thread Edwin Barrios
Hi, David I suggest you take a lookn at http://www.zend.com/php5/articles/php5-xmlphp.php david Thanks for your suggestion, but i wanna info about programming extension in C/C++.

[PHP] Where can i find docs to create a php5 extensions with OOP as SimpleXML?

2005-11-26 Thread Edwin Barrios
Hi, I'm a PHP web programing, but i wanna learn how to develop php5 extensions. I found php5 a good language to apply Objects programing, and it has very usefull examples of OO extensions as SimpleXML, DOM, Sqlite; for this reason i wanna develope my extension following those styles of API's .

Re: [PHP] Re: Performace and segfault errors with Php5 + Apache 1.3.x + linux-2.6.x

2005-08-08 Thread Edwin Barrios
undestand, why only changing the kernel from 2.6.x = 2.4.x all my problems were solved magically ? On 8/4/05, Matthew Weier O'Phinney [EMAIL PROTECTED] wrote: * Edwin Barrios [EMAIL PROTECTED]: i'am developing a web framework SifEngine (Secure Web Inteface framework) that implement MVC

Re: [PHP] Inherit Methods

2005-08-08 Thread Edwin Barrios
Hi ! you have to defined protected $var. This is a example where php5 OO model has a little ambiguities. Thing a few in your problem !, on de child class scope $var it's private then when yo execute printVar(), you aren't executed on parent scope you are calling a copie on child scope, then

Re: [PHP] returning info. from a form selection

2005-08-01 Thread Edwin Barrios
Hi . ! what you want it's recive values from a select. !!! First a select input send ( when the form is submitted ), the value of the selected item, then the php script that it's the form action recive, a on post or get a variable with the name of the select input with this value.

[PHP] Performace and segfault errors with Php5 + Apache 1.3.x + linux-2.6.x

2005-08-01 Thread Edwin Barrios
i'am developing a web framework SifEngine (Secure Web Inteface framework) that implement MVC applaying the security ideas from http://phpsec.org. I'am using DomXML, Sqlite, Mcrypt and PostgreSql. After of post my development on the internet ( i have been thinking to post on PEAR ), i made

Re: [PHP] Performace and segfault errors with Php5 + Apache 1.3.x + linux-2.6.x

2005-08-01 Thread Edwin Barrios
Donald [EMAIL PROTECTED] wrote: On 8/1/05, Edwin Barrios [EMAIL PROTECTED] wrote: i'am developing a web framework SifEngine (Secure Web Inteface framework) that implement MVC applaying the security ideas from http://phpsec.org. I'am using DomXML, Sqlite, Mcrypt and PostgreSql. After

[PHP] Performace and segfault errors with Php5 + Apache 1.3.x + linux-2.6.x

2005-07-31 Thread Edwin Barrios
i'am developing a web framework SifEngine (Secure Web Inteface framework) that implement MVC applaying the security ideas from http://phpsec.org. I'am using DomXML, Sqlite, Mcrypt and PostgreSql. After of post my development on the internet ( i have been thinking to post on PEAR ), i made