Re: Re: error-catching
| From: | Gert Mellak | Date: | Thu, 09 May 2002 18:20:39 +0000 |
| Subject: | Re: Re: error-catching | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-96852@lists.php.net to get a copy of this message | ||
J Smith <dark_panda@hushmail.com> schrieb in im Newsbeitrag:
20020509180836.99473.qmail@pb1.pair.com...
>
> You can write your own error handlers using set_error_handler(). Then,
> depending on the error code, you can decide whether you should display the
> error message, email it to you, log it, whatever.
>
> http://www.php.net/manual/en/function.set-error-handler.php
thank you very much! this seems to be what I was looking for!
>
> If you just want to hide the error message, there's nothing wrong with
using
> @.
ok, it's a new point of view... I've always thought that this is bad
programming style!
Thank you for your hints!
Gert.