Page 1 of 1

how to catch all PHP errors, warnings and so on in a single

Posted: Mon Jun 21, 2004 10:14 am
by davidklonski
Hello

Is it possible to define a php page which will be invoked automatically for any error, warning, notices, and so on?
I want this page to display what the error was.

I am guessing that I need to configure php.ini, but I am not sure.

thanks in advance.

Posted: Mon Jun 21, 2004 10:18 am
by feyd
check into set_error_handler()

Posted: Mon Jun 21, 2004 10:57 am
by davidklonski
thanks for the help