Re: Name of the php script?
| From: | Ignacio Vazquez-Abrams | Date: | Tue, 26 Dec 2000 18:40:14 +0000 |
| Subject: | Re: Name of the php script? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-31864@lists.php.net to get a copy of this message | ||
On Tue, 26 Dec 2000, Voitenko, Denis wrote:
> Is there a way to find out the name of the .php file that is running from
> the PHP script itself? Is there something like
>
> echo PHP_SELF? :-)
>
How about SCRIPT_FILENAME?
--
Ignacio Vazquez-Abrams <ignacio@openservices.net>