Re: PHP error catching
| From: | Stut | Date: | Wed, 20 Jun 2007 10:34:58 +0000 |
| Subject: | Re: PHP error catching | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-257476@lists.php.net to get a copy of this message | ||
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 something similar)Depends what the error is. See http://php.net/set_error_handler for details. -Stut -- http://stut.net/