Re: [PHP] Do not display page errors...

2003-06-06 Thread Leif K-Brooks
You need to set it from a .htaccess file or php.ini to hide parse errors. John W. Holmes wrote: error_reporting(0); -- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law. -- PHP General Mailing Li

RE: [PHP] Do not display page errors...

2003-06-06 Thread John W. Holmes
> 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,