Re: html error reporting
| From: | Ben Williams | Date: | Thu, 21 Dec 2000 07:15:57 +0000 |
| Subject: | Re: html error reporting | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-31374@lists.php.net to get a copy of this message | ||
"Pavel Jartsev" <papi@digitalfruit.ee> wrote:
> Ben Williams wrote:
> >
> > ...
> >
> > is there a way to turn off php reporting errors with html formatting
in
> > them? i am building a couple of non-web server scripts, and i would
love
> > to be able to have it return things like parse errors and such as part
of
> > the normal output still, but not have the <b></b> etc tags among the
error
> > messages.
> >
>
> Maybe this helps:
> http://www.php.net/manual/configuration.php#ini.display-errors
>
>
> --
> Pavel a.k.a. Papi
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?