error handling
| From: | Mattia | Date: | Thu, 12 Sep 2002 15:25:21 +0000 |
| Subject: | error handling | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-116171@lists.php.net to get a copy of this message | ||
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.
i set these values
error_log "logfile.txt"
log_errors On
error_reporting Off
tia
Mattia