http://uk.php.net/manual/en/function.error-reporting.php
http://uk.php.net/manual/en/function.error-log.php
http://uk.php.net/manual/en/function.error-log.php
PHP Error
you can print errors to the default apache httpd error log (for your site/vhost) by usingerror_log('my error');or a specific file (that apache user must have write access to) by using
error_log('my error',3,'/var/log/mylog');REFERRERS
PhpDebugging
PhpFunctions