php-general Digest 31 Jan 2013 04:05:36 -0000 Issue 8106

2013-01-30 Thread php-general-digest-help
php-general Digest 31 Jan 2013 04:05:36 - Issue 8106 Topics (messages 320120 through 320127): Web User Management 320120 by: Adolfo Olivera 320121 by: Tolga 320122 by: marco.behnke.biz 320123 by: Adolfo Olivera 320124 by: Jonathan Sundquist

[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: ?php ini_set('error_log', 'C:\Apache2\htdocs\myapp\app\logs\error_log'); error_log('some log message that, via a bug, will be logged

[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

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:

Re: [PHP] Web User Management

2013-01-30 Thread ma...@behnke.biz
Adolfo Olivera olivera.ado...@gmail.com 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

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 you

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 olivera.ado...@gmail.comwrote: You can take a look at the classes from the Zend Framework (they can be used stand alone as well) Thanks Marco, which classes

[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: ?php unset($buf); unset($res); exec(ps -A, $buf, $res); for($i=0; $i count($buf);

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/

Re: [PHP] Web User Management

2013-01-30 Thread tamouse mailing lists
On Wed, Jan 30, 2013 at 10:21 AM, Jonathan Sundquist jsundqu...@gmail.com 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 olivera.ado...@gmail.comwrote: You can take a look at the classes from the Zend

[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,