Re: [PHP] Error catching script

2003-10-08 Thread Curt Zirzow
* Thus wrote James Johnson ([EMAIL PROTECTED]): > Hello, > > Is there a way, on a hosted server, to prevent PHP errors from showing in a > browser? Instead of "error whatever at line 107 in filename.php" to have it > redirect to a "Sorry, please report this error page" See: set_error_handler();

Re: [PHP] Error catching script

2003-10-08 Thread Chris Shiflett
--- James Johnson <[EMAIL PROTECTED]> wrote: > Is there a way, on a hosted server, to prevent PHP errors from > showing in a browser? I am assuming you are asking how to change php.ini directives, since you probably don't have access. On most shared hosts, they are configured to use a .htaccess f

[PHP] Error catching script

2003-10-08 Thread James Johnson
Hello, Is there a way, on a hosted server, to prevent PHP errors from showing in a browser? Instead of "error whatever at line 107 in filename.php" to have it redirect to a "Sorry, please report this error page" Thanks, James -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vi