on 12/28/01 8:53 AM, Henning Sprang at [EMAIL PROTECTED] wrote: > That's what I wrote - I know I can use things like that, but I am > curious if there are other ways to find out which file is included by > what and which function is defined in which file - i didn't find answers > about that in the manual.
I'm not sure if there is anything built in that you can use, but you probably should start with the: __FILE__ and __LINE__ constants. The __FILE__ constant is the name of the script file being executed. If it's in an include file, it will be the name of the include file, not the parent file. The __LINE__ is the current line within the file (include). HTH. Paul Burney <?php while ($self != "asleep") { $sheep_count++; } ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]