Re: Local Path of Script
| From: | Brian Clark | Date: | Mon, 22 Jan 2001 16:40:57 +0000 |
| Subject: | Re: Local Path of Script | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-36020@lists.php.net to get a copy of this message | ||
Hello Karl,
(KJS == "Karl J. Stubsjoen") karlflips@kstub.com writes:
KJS> How do I obtain the path of the local script? Or do I have to
KJS> build it from the $DOCUMENT_ROOT?
I think this is specific to Apache, but try $SCRIPT_FILENAME
-Brian
--
Syntactic sugar causes cancer of the semi-colons.