Re: Hiding Errors
| From: | Brad Pauly | Date: | Thu, 05 Dec 2002 22:01:41 +0000 |
| Subject: | Re: Hiding Errors | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-127203@lists.php.net to get a copy of this message | ||
On Thu, 2002-12-05 at 14:32, vernon wrote:
> Is there a way to have errors in script not output to the screen? I have a
> page that creates an error which really isn't a problem and I don't want
> users to see the error message.
You can also use set_error_handler to deal with errors however you like.
http://www.php.net/manual/en/function.set-error-handler.php
HTH,
Brad