Hi
Nice idea but as far as I think this thing is build into PHP.EXE. But you can do one thing, in PHP.INI (if you are running it on WIN plat form), you can add POST and PRE error messages.
Another solution is to Download Source code, make change in it and compile it and enjoy 🙂
PHP.ini contains following lines..
; String to output before an error message.
error_prepend_string = "<font face='verdana,tahoma,arial,ms sans serif' size='2' color='#000000'><font color='red'><b>Error</b></font><br>"
; String to output after an error message.
error_append_string = "</font>"
Hope this will help you..
Regards
Fahad Khalil
www.fahadkhalil.f2s.com
http://www.phpbuilder.com/people/viewprofile.php?user_id=114403