Nevermind, I should learn to read..you wanted to have different colors for different messages.. --Jani
On Tue, 5 Aug 2003, Jani Taskinen wrote: > > Why don't you just use the existing ini options: > > ; String to output before an error message. > ;error_prepend_string = "<font color=ff0000>" > > ; String to output after an error message. > ;error_append_string = "</font>" > > ?? > > --Jani > > >On Tue, 5 Aug 2003, Stefan Walk wrote: > >>Hi, >> >>A while ago I proposed a patch that improved html_errors, but i got no >>response from that, so i repost an improved version... >> >>The patch changes they way errors are displayed: >>1) They are readable. >> The current version prints in black with no background at all, >> sometimes leading to black error messages on dark backgrounds - not >> very readable. Additionally, they have a fixed font size so they >> don't appear in a 4px font somewhere. >>2) They are colorized. >> Notices, warnings, fatal errors and other errors get distinct colors >> for a better quick overview. >>3) They look better ;) >> It uses CSS to format the error message nicely. >> >>The colors used are changeable by php.ini directives. >> >>Since many people just debug in their browser without using own >>error_handlers or append/prepend_strings, i think this is a nice >>addition that makes php more user-friendly. >> >>An example of how this looks can be found at: >>http://prp0.prp.physik.tu-darmstadt.de/~swalk/errors.htm >> >>Regards >>Stefan >> > > -- https://www.paypal.com/xclick/[EMAIL PROTECTED]&no_note=1&tax=0¤cy_code=EUR -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php