Re: A Doubt
| From: | Bas Jobsen | Date: | Wed, 28 Aug 2002 16:33:26 +0000 |
| Subject: | Re: A Doubt | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-21424@lists.php.net to get a copy of this message | ||
Hi,
> The reason is, I need to check everytime the file "abcd.php"
> is
> loaded, I should be able to determine that it was loaded by
> "mnop.php"
If you include abcd.php in mnop.php
$_SERVER['SCRIPT_NAME'] equals /mnop.php for both scripts.
So you can test in abcd.php for this.