in php.ini play with

error_append_string = '<wml stuff>'
error_prepend_string = '</wml stuff>'

even better, in php.ini

error_reporting = E_ALL
display_errors = On
error_log = /var/log/php_err.log

now all errors will not be displayed. they will be writen to a file.

tail -f /var/log/php_err.log

will show you all the errors, when a new error is added it will be auto displayed.

-- 

 Chris Lee
 [EMAIL PROTECTED]




"todd kennedy" <[EMAIL PROTECTED]> wrote in message 
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
do you know of an easy way to change the errors generated by PHP to come
out in WML instead of HTML do they're easier to debug in a WML emulator?

thanks.

todd kennedy


-- 
PHP General 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]



--
PHP General 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