OK i'm hoping this is an easy one for all you guys π
I want to create a custom error logging class. But what i want to do is pass the line nubmer and filename of the page that created the error to this function.
So if an error occurs on line 5 of "abc.php" the error function would tell the user what line on abc.php it was that was causing the problem.
At the moment i have the function but it is always returning the line in the function (not the page / line number that created the error) where the error_log function is called!.
Any ideas???
Thanks
GM