If I search Google all I get is people who can't get the mail() function to work properly
Emailing Errors
Moderator: General Moderators
Emailing Errors
Is there a way to change the php.ini so that script errors (including parse errors) are sent to an email address?
If I search Google all I get is people who can't get the mail() function to work properly
If I search Google all I get is people who can't get the mail() function to work properly
http://us2.php.net/manual/en/function.error-log.php
That's for non-parse errors, looking now for parse errors. If you have parse errors though, it shouldn't really be in production

EDIT: Have a look at set_error_handler() and also set_exception_handler(), which is linked as an "see also:"
That's for non-parse errors, looking now for parse errors. If you have parse errors though, it shouldn't really be in production
EDIT: Have a look at set_error_handler() and also set_exception_handler(), which is linked as an "see also:"