Re: html error reporting
| From: | Pavel Jartsev | Date: | Thu, 21 Dec 2000 07:35:15 +0000 |
| Subject: | Re: html error reporting | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-31376@lists.php.net to get a copy of this message | ||
Ben Williams wrote:
>
> that's not exactly what i'm after - what i want is for it to display the
> errors, but *not* have html formatting in the errors. i.e. rather than:
>
> "<b>Parse error</b>: parse error in <b>services.php</b> on line
> <b>40</b><br>"
>
> i want it to say:
>
> "Parse error: parse error in services.php on line 40"
>
> make more sense?
>
ok, I don't know is it possible or not.
But you can send non-HTML error messages into some logfile.
For example, I have in my php.ini:
-----------------
display_errors = Off
log_errors = On
error_log = some_log_file_name
-----------------
--
Pavel a.k.a. Papi