Re: [PHP] An Error Tracking System

2003-09-30 Thread Marek Kilimajer
debug_backtrace() generates a PHP backtrace and returns this information as an associative array. You can use it to find out where the error ocured. Daryl Meese wrote: Hi all, I have a series of library files written in PHP that other developers use by including them into their code. I have als

Re: [PHP] An Error Tracking System

2003-09-30 Thread Burhan Khalid
Daryl Meese wrote: [ snip ] The problem, I only want to receive an email if the problem occurred in one of my library files and want the other developer to see the error if it is in their file. You can use some php constants, such as __FILE__ and __FUNCTION__ to narrow down when an email is tri