__FILE__ is the filename of the current file being parsed.  This can
change around as the php script includes other files.  It is mostly used
for printing out information on where an error occurred.

$PATH_INFO is the part of the URI after the script.  ie.
www.php.net/test.php/whatever/blah
In this case $PATH_INFO would be /whatever/blah

$PATH_TRANSLATED is $PATH_INFO translated to an absolute file path on the
file system.  So something like /var/web/whatever/blah for the above
example.

-Rasmus

On Mon, 15 Jan 2001 [EMAIL PROTECTED] wrote:

> Hi,
> please, would anybody be so kind and tell me what differences are
> amoung __FILE__, $PATH_INFO and $PATH_TRANSLATED? And in which cases
> they will have other values?
>
> Thanks.
> Regards, PETER
>
> -------------------------------------------------
> Tento e-mail byl odeslán ze serveru www.worldmail.cz
>
> --
> 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]
>


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