RE: [PHP] XHTML compatible error messages
| From: | Jason Lotito | Date: | Thu, 06 Dec 2001 07:11:17 +0000 |
| Subject: | RE: [PHP] XHTML compatible error messages | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-76834@lists.php.net to get a copy of this message | ||
There is a way to turn off HTML in Errors in PHP. This is done in
php.ini or you can use the ini_set() function to change the value.
html_errors
boolean
Turn off HTML tags in error messages
http://download.php.net/manual/en/configuration.php
Jason Lotito
jason@lehighweb.com
www.NewbieNetwork.net
> -----Original Message-----
> From: Matt McClanahan [mailto:cardinal@dodds.net]
> Sent: Thursday, December 06, 2001 2:05 AM
> To: Jan
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] XHTML compatible error messages
>
>
> On Fri, Aug 17, 2001 at 05:40:07PM +0200, Jan wrote:
>
> > Hi out there!
> >
> > I have got a problem with PHP's standard way of reporting
> errors. The
> > <br> in the error messages are making the XML invalid (should be
> > <br/>). Is there an easy way to do this?
>
> This was done in CVS a few months ago. It should be in PHP
> 4.1.0 when it comes out shortly.
>
> Matt
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail:
> php-general-help@lists.php.net To contact the list
> administrators, e-mail: php-list-admin@lists.php.net
>