Gerry Figueroa Anadon <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 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



-- 
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]

Reply via email to