Re: PHP variable to return filename?
| From: | Data Driven Design | Date: | Thu, 22 Jun 2000 19:46:53 +0000 |
| Subject: | Re: PHP variable to return filename? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-2694@lists.php.net to get a copy of this message | ||
You might try $SCRIPT_NAME if your server has it set.
Data Driven Design
PO Box 1084
Holly Hill, FL 32125-1084
Phone : (904) 226-8979
URL : http://datadrivendesign.com
URL : http://rossidesigns.net
----- Original Message -----
From: Chris Sano <sano@mail.rit.edu>
To: PHP List <php-general@lists.php.net>
Sent: Thursday, June 22, 2000 3:14 PM
Subject: [PHP-GENERAL] PHP variable to return filename?
| I know this is another one of my lame questions, but what is the built-in
| PHP variable that will return the current filename whcih is being
executed?
|
| I tried $PHP_SELF and that returned the whole PHP path.
|
| Chris
|
| ___________________________
| got sano? (new design!)
| http://www.rit.edu/~cms0670
|
|