Re: get filename?
| From: | Yasuo Ohgaki | Date: | Tue, 20 Mar 2001 14:00:35 +0000 |
| Subject: | Re: get filename? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-44745@lists.php.net to get a copy of this message | ||
$HTTP_SERVER_VARS['PHP_SELF'],$HTTP_SERVER_VARS['SCRIPT_NAME'], etc.
There are many values, that you can use to get script name, in
$HTTP_SERVER_VARS.
Regards,
--
Yasuo Ohgaki
<KPortsmout@aol.com> wrote in message news:9f.12c66a1e.27e8b2f9@aol.com...
> Hi
>
> Whats the best method to get the filename of the file I am using. E.G if the
> file is called tom_woz_here.php and would I go about stickin that into
> $FileName= ???
>
> Thanks
>
> --
> 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
>