Using mod_perl when an error is encountered, I have a customized error 
screen that is defined in http.conf that is displayed to the user.  This is 
just a customized 500 page that then emails me which page crashed and all 
of the local variables.

I can't seem to find a way to do this in PHP 4.0.6.  Mod_Perl on error 
throws a 500 to the webserver, where PHP seems to just keep on 
going.  Suppressing the errors only seems to return an empty page with a 
status of 200 as verified in my apache logs. I realize that I could have an 
error handling statement around every possible place an error could occur, 
but this doesn't seem very efficient to me.

Does anybody know of a way to generate an email on error with all the 
current variables?


Randy Miller -- Team Leader, Web Development
HighWired.com -- Your high school connection
http://www.highwired.com/
[EMAIL PROTECTED] -- 617.393.2233



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to