Re: Detect directory
| From: | Chris Lee | Date: | Fri, 26 Jan 2001 22:47:12 +0000 |
| Subject: | Re: Detect directory | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-36906@lists.php.net to get a copy of this message | ||
<?
echo "$DOCUMENT_ROOT <br>\n";
echo "$PHP_SELF <br>\n";
?>
Try that. or am missunerstanding the question?
Chris Lee
Mediawaveonline.com
""Marx Gomes"" <ceticojp@bol.com.br> wrote in message
news:012601c087d8$2ef57da0$0e04a8c0@netwaybbs.com.br...
> 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: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>