Re: Document root
| From: | pierre-yves | Date: | Tue, 24 Jul 2001 13:07:38 +0000 |
| Subject: | Re: Document root | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-59339@lists.php.net to get a copy of this message | ||
You seem to be on windows, check with phpinfo() for this var. (I use this on
unix
and assume it would be the same for win)
<? echo $HTTP_SERVER_VARS["SCRIPT_FILENAME"]; ?>
py
----- Original Message -----
From: "Roman" <rduriancik@indprop.gov.sk>
To: "Php-General" <php-general@lists.php.net>
Sent: Tuesday, July 24, 2001 8:20 AM
Subject: [PHP] Document root
> Please help me !
>
> In phpinfo() i find my document root but existing some PHP variable which
> had document_root inside.
>
> Thankx
>
> roman
>
> for example : Document root : x:\php
>
> maybe echo $Document_root show x:\php
>
>
> --
> 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
>