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
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
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
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);
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
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
]]
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
7 matches
Mail list logo