$PHP_SELF will be the filename including $QUERY_STRING and $PATH_INFO
variables, $SCRIPT_NAME should be just the filename.
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 20, 2001 5:19 AM
Subject: [PHP] get filename?
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]