Re: \|/ $PHP_SELF
| From: | Fred | Date: | Tue, 20 Nov 2001 04:08:23 +0000 |
| Subject: | Re: \|/ $PHP_SELF | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-75207@lists.php.net to get a copy of this message | ||
Gerry Figueroa Anadon <gerry@dynamicintermedia.com> wrote in message
news:3BF9E78F.C59F26C3@dynamicintermedia.com...
> Does $PHP_SELF always get's the path of the document it resides in even if
the document is an include?
$PHP_SELF will always give the name and path of the main file, even if the
variable is set in an included file. The reason is that the included file
is included before the variable is evaluated.
Fred