A co-worker of mine recently found an undocumented configuration setting in
the php source that turns off the HTML tags in PHP error messages.

If someone will commit this patch, I'll add it to the phpdoc tree also.

Regards,

Daniel

Index: php.ini-dist
===================================================================
RCS file: /repository/php4/php.ini-dist,v
retrieving revision 1.83
diff -u -r1.83 php.ini-dist
--- php.ini-dist        11 Jun 2001 15:43:50 -0000      1.83
+++ php.ini-dist        19 Jun 2001 19:46:54 -0000
@@ -234,6 +234,9 @@
 ; Warn if the + operator is used with strings.
 warn_plus_overloading = Off

+; Turn off HTML tags in error messages.
+;html_errors = Off
+

 ;;;;;;;;;;;;;;;;;
 ; Data Handling ;



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to