> I want to find out if it is possible to get the file name and the line > number of a calling script (__FILE__, __LINE_) from a calling class > automatically.
debug_backtrace contains that info. http://www.php.net/debug_backtrace -- Scott Noyes [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php