Hello,
I am using pear error class to take care of the errors in my scripts.
I use the line within my function:
return new PEAR_Error("Testing error function", 1, PEAR_ERROR_TRIGGER, E_USER_ERROR);
and it gives me this result when i test it:
Fatal error: Testing this error function in /usr/local/apache/include/php/PEAR.php on line 353
The trouble with this is that it does not report to me the file or the line number where the error actually occurred.
Can anyone please help me.
++Tx
Peter