[PATCH] fancy_html_errors
| From: | John Bradford | Date: | Thu, 14 Nov 2002 19:36:11 +0000 |
| Subject: | [PATCH] fancy_html_errors | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-91054@lists.php.net to get a copy of this message | ||
Hi,
Firstly, please accept my appologies if this is the wrong list to send
a patch to.
PHP error messages in web pages are often made difficult to read by
the surrounding HTML, and it occurred to me that style-sheet aware
browsers could render errors in a more attention-getting way. Non
style-sheet aware browsers should just ignore the extra code.
The following patchset defines:
fancy_html_errors
and displays errors in a large box in the middle of the screen, in a
capable browser, E.G. Konqueror.
One problem is that all errors will overlap, so only the last one is
visible, so maybe this output should be in addition to, not instead of
the usual error reporting?
The attached patch is against PHP 4.2.3.
John.