Re: PHP error catching....
| From: | Curt Zirzow | Date: | Tue, 20 Jul 2004 16:24:15 +0000 |
| Subject: | Re: PHP error catching.... | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-191187@lists.php.net to get a copy of this message | ||
* 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 meant the "@" part.. It was a
> function where I can enter the PHP's defined parameter in the function.
or perhaps
$oldval = ini_set('display_errors', false);
// code
ini_set('display_errors', $oldval);
Curt
--
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about. No, sir. Our model is the trapezoid!