Getting name of the main file from external included script..
| From: | Aviv Revach | Date: | Mon, 12 Mar 2001 23:14:43 +0000 |
| Subject: | Getting name of the main file from external included script.. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-43728@lists.php.net to get a copy of this message | ||
Hey!
I already asked this once before, but nobody seems to answer. That's why I'm re-writing
my question.
I have a main file named: "main.php3"
It includes an external php3 script named: "ext.php3"
Inside of the 'ext.php3' script - I need to know the full path
of the file which included it (in this case - 'http://www......./dir1/dir2/main.php3').
How could I do that?
Thank you in advance -
Aviv Revach
BRILLIANeT Website -http://www.brillianet.com/