Mattia wrote: > I'm writing a web app with php, and would like to do the following: > when an error occures (a php/apache error or an application error) > the error is logged to a log file. The user is displayed a page that > says 500 internal server error, and nothig more. I have access to > .htacces and no access to php.ini.
Take a look at http://www.php.net/set_error_handler That's the easiest way to create your own error_handler class! HTH Erwin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php