[PHP] [SOLVED] Re: [PHP] php5.3 exec() : output truncate

2013-01-30 Thread patrick ficheux
I found the reason of this issue : SELinux by defaut, SELinux is enabled on CentOS5.5 => httpd runs with "restricted rights" If I temporary disabled SELinux + restart httpd => "ps -A" from my script runs as expected $ setenforce 0 $ /etc/init.d/httpd restart Le 30/01/2013 19:14,

Re: [PHP] Web User Management

2013-01-30 Thread tamouse mailing lists
On Wed, Jan 30, 2013 at 10:21 AM, Jonathan Sundquist wrote: > For Zend Framework 2, take a look at https://github.com/ZF-Commons/ZfcUser > > > On Wed, Jan 30, 2013 at 10:19 AM, Adolfo Olivera > wrote: > >> >You can take a look at the classes from the Zend Framework (they can be >> used >> >stand a

Re: [PHP] php5.3 exec() : output truncate

2013-01-30 Thread Jim Lucas
On 01/30/2013 10:14 AM, patrick ficheux wrote: Hi, I want to get the list of running processes. also, I call exec() with "ps -A" What user is your httpd process running as? run this from your cli: ps aux | grep httpd and show us the output -- Jim Lucas http://www.cmsws.com/ http://www.cm

[PHP] php5.3 exec() : output truncate

2013-01-30 Thread patrick ficheux
Hi, I want to get the list of running processes. also, I call exec() with "ps -A" (ps -A displays almost all processes of all users) Unfortunatly, the output of "ps -A" seems incomplete the test file test.php: "); } ?> If I run the test.php under the context of httpd (from http:///test.php),

Re: [PHP] Web User Management

2013-01-30 Thread Jonathan Sundquist
For Zend Framework 2, take a look at https://github.com/ZF-Commons/ZfcUser On Wed, Jan 30, 2013 at 10:19 AM, Adolfo Olivera wrote: > >You can take a look at the classes from the Zend Framework (they can be > used > >stand alone as well) > > Thanks Marco, which classes specifically are you talkin

Re: [PHP] Web User Management

2013-01-30 Thread Adolfo Olivera
>You can take a look at the classes from the Zend Framework (they can be used >stand alone as well) Thanks Marco, which classes specifically are you talking about. Where can I download them from and get documentation on them? I looked into zend's web site and it is a bit overwhelming, so may be yo

Re: [PHP] Web User Management

2013-01-30 Thread ma...@behnke.biz
Adolfo Olivera hat am 30. Januar 2013 um 15:18 geschrieben: > My questions are > > 1 Is there some kind of library, framework I could utilize to save me some > work? You can take a look at the classes from the Zend Framework (they can be used stand alone as well) > 2 Any thoughts, lessons learne

Re: [PHP] Web User Management

2013-01-30 Thread Tolga
i dont know why, but without framework, it seems to me easier done than said. :) 30.01.2013 06:18 tarihinde, Adolfo Olivera yazdı: Hi, I'm about to start a little project using PHP and MySQL. It involves some basic user management. Like most web systems. Users would need to be able to:

[PHP] Web User Management

2013-01-30 Thread Adolfo Olivera
Hi, I'm about to start a little project using PHP and MySQL. It involves some basic user management. Like most web systems. Users would need to be able to: 1 Create Accounts. 2 Update and recover passwords. 3 Maintain a session to operate. 4 Something else I might be forgetting. My ques

[PHP] error_log() bug on PHP 5.4.11?

2013-01-30 Thread J.S.
Hi, When I call error_log() to log a message to the log file, I end up with duplicate entries. Here is a minimal test script which reproduces the problem for me: will log: [30-Jan-2013 09:41:13 UTC] some log message that, via a bug, will be logged twice [30-Jan-2013 09:41:13 UTC] some log m