Re: Handling Errors Gracefully

From: Date: Sat, 09 Nov 2002 22:43:32 +0000
Subject: Re: Handling Errors Gracefully
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-123629@lists.php.net to get a copy of this message
Just turn off display_errors in your php.ini file On Sat, 9 Nov 2002, Monty wrote: > Is there any way to gracefully handle errors that happen after output to the > screen has begun (the point where header(Location:) doesn't work) without > using ob_ functions? > > I have a separate PHP page I'd like to display with the error if one happens > using the error_handler() and trigger_error() functions. But, I can't make > it work because if the error happens after output starts, I just get an > error stating header() won't work. > > I'm also not sure of the best way to pass all the error data to the error > page. Its too much for a $_GET. > > Anyone have any suggestions or links to articles that explain how this can > be done?? Thanks a lot. > > Monty > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#123629) next »