[PHP] Re: Catching all errors and redirecting

2005-08-19 Thread Norbert Wenzel
Thomas Hochstetter wrote: Hi again, Is it possible to catch all parser errors (notices), and as that happens redirecting to a 'sorry-page-not-available-at-this-moment' page, whilst storing the error (or notice) message somewhere else (e.g. emailing it to the developer). thanks Thomas From

[PHP] Re: Catching all errors and redirecting

2005-08-18 Thread Ben Ramsey
Thomas Hochstetter wrote: Is it possible to catch all parser errors (notices), and as that happens redirecting to a 'sorry-page-not-available-at-this-moment' page, whilst storing the error (or notice) message somewhere else (e.g. emailing it to the developer). See set_error_handler()

[PHP] Re: Catching all errors and redirecting

2005-08-18 Thread Jeff Loiselle
You can also try output buffering the whole page, checking for an error with string functions, and email yourself if there is an error. ;-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php