RE: [PHP] Do not display page errors...
| From: | John W. Holmes | Date: | Thu, 05 Jun 2003 23:28:02 +0000 |
| Subject: | RE: [PHP] Do not display page errors... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-150429@lists.php.net to get a copy of this message | ||
> Not sure if there is an html tag or php that will tell a page not to
> display
> any errors on the page, but does anyone know how to do that? I want to
> hide
> any error that might be displayed, JavaScript or otherwise.
error_reporting(0);
This will have no effect on JavaScript errors, though, because PHP is
server side of course...
---John W. Holmes...
Amazon Wishlist: http://www.amazon.com/o/registry/3BEXC84AB3A5E
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/