Re: Local Path of Script
| From: | Nathan Cook | Date: | Mon, 22 Jan 2001 16:57:22 +0000 |
| Subject: | Re: Local Path of Script | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-36024@lists.php.net to get a copy of this message | ||
I just do:
$LocalScript = $DOCUMENT_ROOT . $PHP_SELF;
.:: Nathan Cook [ ncook@pcsedu.com ] ::.
Systems & Network Administrator :: Programmer
[ phone - 208.343.3110 ][ pager - 208.387.9983 ]
----- Original Message -----
From: "Karl J. Stubsjoen" <karlflips@kstub.com>
To: "PHP Mailing List" <php-general@lists.php.net>
Sent: Monday, January 22, 2001 9:41 AM
Subject: [PHP] Local Path of Script
> How do I obtain the path of the local script? Or do I have to build it
from
> the $DOCUMENT_ROOT?
>
>
> --
> 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
>
>