>I want to be able to e-mail myself the name of the variable that bombed
>out and the line that it was on (as well as the filename) if possible.
>Don't really know where to start... looks like this:
You can use PHP's predefined constants in an assertion, and
debug_backtrace().
http://www.php.net/
Alright, I've got an error reporting class with a report() method.
I want to be able to e-mail myself the name of the variable that bombed
out and the line that it was on (as well as the filename) if possible.
Don't really know where to start... looks like this:
function report ($error_var) {
2 matches
Mail list logo