[PHP] Error handler script

2010-10-20 Thread Teto
Hi, I've been wondering if there was any php project focusing on providing a neat php error handler ? Up to now, I've been coding mine but I've seen videos on the web where a guy was using a really impressive php error_handler. Of course I could code it but if there was something generic I could

[PHP] Error Handler

2005-04-22 Thread Pinoy Ako
I use the example given at http://ph.php.net/manual/en/ref.errorfunc.php However, when I tried to call an undefined function, I get the normal Fatal Error message instead of the custom message I entered in the error handler function. My System Settings: Apache 2.0.53 PHP

Re: [PHP] Error Handler

2005-04-22 Thread Richard Lynch
On Fri, April 22, 2005 3:10 pm, Pinoy Ako said: I use the example given at http://ph.php.net/manual/en/ref.errorfunc.php However, when I tried to call an undefined function, I get the normal Fatal Error message instead of the custom message I entered in the error handler function. As the

[PHP] error handler

2002-06-04 Thread Gerard Samuel
I got an error handler setup, and Im using trigger_error() to do certain things. function errorhandler($type, $msg, $file, $line) { switch ($type) { /* case E_NOTICE: $exit = FALSE; break; */ case E_USER_WARNING: pretty_error_display($msg);

RE: [PHP] Error Handler Problem

2002-03-10 Thread S.Murali Krishna
PROTECTED]] Sent: Saturday, March 09, 2002 6:43 AM To: [EMAIL PROTECTED] Subject: [PHP] Error Handler Problem Hi All, I tell my requierment first. Just in short I want to capture a error of Undefined Function .so and so... . I set Error Handler to E_ALL ~E_ERROR

[PHP] Error Handler Problem

2002-03-09 Thread S.Murali Krishna
Hi All, I tell my requierment first. Just in short I want to capture a error of Undefined Function .so and so... . I set Error Handler to E_ALL ~E_ERROR and I set my own Error Handler to capture errors then I called a Non-Existent Function intentionally. in this case

RE: [PHP] Error Handler Problem

2002-03-09 Thread Dan Vande More
]] Sent: Saturday, March 09, 2002 6:43 AM To: [EMAIL PROTECTED] Subject: [PHP] Error Handler Problem Hi All, I tell my requierment first. Just in short I want to capture a error of Undefined Function .so and so... . I set Error Handler to E_ALL ~E_ERROR and I set my own