I've recently been looking into PHP's custom error handler support,
which seems to me to fail at exactly the point that you need it to start
working. I quote:
"Note: The following error types cannot be handled with a user defined
function: E_ERROR, E_PARSE, E_CORE_ERROR, E_CORE_WARNING,
E_COMPILE_ERROR and E_COMPILE_WARNING."
-- from http://au.php.net/manual/en/function...or-handler.php
How do I get PHP to email me when a *genuinely serious* error occurs?
Those, after all, are the ones that I really want to be told about. Is
there the PHP equivalent of an 'onAbort' hook anywhere?
Basically, I want to know what's gone wrong when it happens, rather than
needing to look through logfiles to see what went wrong in the past.
How do people normally do this?
Nigel Chapman,
Sydney Australia.
kale77in at hotmail * (don't reply to my [From:] address, it's bogus)