On 12 June 2010 01:17, Daevid Vincent <dae...@daevid.com> wrote:
> I'm trying to clean up some code and have been looking at error_log output
> and they all look like this:
> [11-Jun-2010 23:04:54] <font color='red'><b>In
> /var/www/my_notifications.php, line 40: WARNING</b>
> Invalid argument supplied for foreach()
> I can't figure out:
> [a] why the logs are in HTML format to begin with? Seems useless.
> [b] how do I turn it off and just be plain text (i.e. striptags()
> [c] where is this <font color='red'> coming from?
> I've looked in /etc/php5/apache2/ and grepped through, but don't see 'red'
> I do see this, but it has no effect, as you can see by me 'disabling' it.
> 388 ; String to output before an error message.
> 389 ;error_prepend_string = "<font color=ff0000>"
> 390 error_prepend_string = ""
> 392 ; String to output after an error message.
> 393 ;error_append_string = "</font>"
> 394 error_append_string = ""
Did you check the html_errors directive?
WWW: http://plphp.dk / http://plind.dk
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php