Re: error reporting
| From: | Richard Baskett | Date: | Fri, 17 Oct 2003 00:41:04 +0000 |
| Subject: | Re: error reporting | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-166377@lists.php.net to get a copy of this message | ||
on 10/16/03 16:51, John W. Holmes at holmes072000@charter.net wrote:
> Richard Baskett wrote:
>> If I use:
>>
>> ini_set("error_reporting", 0);
>> ini_set("display_errors", 0);
>>
>> It still shows the errors.. if I use the error_reporting function.. it still
>> shows the errors, no matter what I do.. it still shows the errors!
>>
>> What am I missing? I have it set in the php,ini to show errors, but I want
>> to be able to suppress them within the individual scripts, but it's not
>> working.. and when I use ini_get() it shows their values to be what I just
>> set them to be, but yet.. it is still showing the errors! Ugh :(
>
> What kind of errors? Ths will not prevent parse errors from being shown.
Ok I figured it out.. All I needed was for you to tell me exactly what you
told me, so that I could explore other options instead of just thinking I
was doing something wrong :)
So what I did was set error_reporting to E_PARSE and then display_errors to
On since I found out that I couldn¹t change the status of display_errors
either, but I can change error_reporting within my scripts.. so that's what
I did :)
Thanks for that help!
Rick
To realize the worth of the anchor we need to feel the storm. - Unknown