<?
echo "$DOCUMENT_ROOT <br>\n";
echo "$PHP_SELF <br>\n";
?>
Try that. or am missunerstanding the question?
Chris Lee
Mediawaveonline.com
""Marx Gomes"" <[EMAIL PROTECTED]> wrote in message
012601c087d8$2ef57da0$[EMAIL PROTECTED]">news:012601c087d8$2ef57da0$[EMAIL PROTECTED]...
> Hello,
>
> How can I detect the directory where my file is in? i.e. I want the same
> file to do something different depending on where it is located. Is there
a
> function for that?
>
> Thanks for the attention!
>
> Marx
>
>
> --
> 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]