Re: [PHP] PHP error catching

2007-06-20 Thread Stut
Miguel J. Jiménez wrote: Hi. I have been asked to try to catch the php error generated when the PHP script exceed execution time, but I do not know if that can be done... Any ideas? Mainly I want to show a custimized error page instead of that error (kind of "Sorry but we are busy right now" or

[PHP] PHP error catching

2007-06-20 Thread Miguel J. Jiménez
Hi. I have been asked to try to catch the php error generated when the PHP script exceed execution time, but I do not know if that can be done... Any ideas? Mainly I want to show a custimized error page instead of that error (kind of "Sorry but we are busy right now" or something similar) Than

RE: [PHP] PHP error catching....

2004-07-20 Thread Will Collins
Error handlers? Plus, you can set up PHP to log errors to a file in 'php.ini'... -Original Message- From: Scott Fletcher [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 20, 2004 9:48 AM To: [EMAIL PROTECTED] Subject: [PHP] PHP error catching What are those php functions

Re: [PHP] PHP error catching....

2004-07-20 Thread Scott Fletcher
>[re-snip] >I can't remember what I did 6 to 8 months ago. >[/re-snip] >/* commenting is your friend */ I definitely agree with you on that... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP error catching....

2004-07-20 Thread Jonathan Haddad
error_reporting( E_NONE )? Jon Scott Fletcher wrote: Close, but still not quite it. I can't remember what I did 6 to 8 months ago. I do remember that it was written to temporary suppress the php error while the other part of the php script can be allow to execute before unsupressing the php error

RE: [PHP] PHP error catching....

2004-07-20 Thread Jay Blanchard
[snip] Close, but still not quite it. I can't remember what I did 6 to 8 months ago. I do remember that it was written to temporary suppress the php error while the other part of the php script can be allow to execute before unsupressing the php error. I do not meant the "@" part.. It was a fun

Re: [PHP] PHP error catching....

2004-07-20 Thread Curt Zirzow
* Thus wrote Scott Fletcher: > Close, but still not quite it. I can't remember what I did 6 to 8 months > ago. I do remember that it was written to temporary suppress the php error > while the other part of the php script can be allow to execute before > unsupressing the php error. I do not mean

Re: [PHP] PHP error catching....

2004-07-20 Thread Scott Fletcher
Close, but still not quite it. I can't remember what I did 6 to 8 months ago. I do remember that it was written to temporary suppress the php error while the other part of the php script can be allow to execute before unsupressing the php error. I do not meant the "@" part.. It was a function w

Re: [PHP] PHP error catching....

2004-07-20 Thread Jason Wong
On Tuesday 20 July 2004 22:48, Scott Fletcher wrote: > What are those php functions that catch the PHP errors, not display it and > do something to it while the user load a webpage. I don't remember what > those are. :-( manual > Error Handling and Logging Functions -- Jason Wong -> Greml

Re: [PHP] PHP error catching....

2004-07-20 Thread Curt Zirzow
* Thus wrote Scott Fletcher: > What are those php functions that catch the PHP errors, not display it and > do something to it while the user load a webpage. I don't remember what > those are. :-( It sounds like you're looking for http://php.net/set_error_handler Curt -- First, let me a

Re: [PHP] PHP error catching....

2004-07-20 Thread Philip Olson
> What are those php functions that catch the PHP errors, not display it and > do something to it while the user load a webpage. I don't remember what > those are. :-( Look around set_error_handler() Regards, Philip -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] PHP error catching....

2004-07-20 Thread Scott Fletcher
What are those php functions that catch the PHP errors, not display it and do something to it while the user load a webpage. I don't remember what those are. :-( FletchSOD -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php