Variable dump on error

From: Date: Thu, 19 Jul 2001 15:01:04 +0000
Subject: Variable dump on error
Groups: php.general 
Request: Send a blank email to php-general+get-58714@lists.php.net to get a copy of this message
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/ rmiller@highwired-inc.com -- 617.393.2233

« previous php.general (#58714) next »