[thelist] PHP -name of include sourcefile

Aleem Bawany aleem.bawany at utoronto.ca
Tue Dec 3 02:15:01 CST 2002


If I have a file a.php which has the following line:

include("b.php");

is there any way to determine in file b.php which file is calling the
include for b.php (in this case, I want to determine a.php's name in
b.php)

thanks,
aleem




More information about the thelist mailing list