Re: get name of file
| From: | John LYC | Date: | Tue, 20 Mar 2001 03:11:20 +0000 |
| Subject: | Re: get name of file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-44675@lists.php.net to get a copy of this message | ||
$PHP_SELF
returns the file name..
go to php website manual and serach for it..
john
Matthew Delmarter wrote:
> How do I return the name of a file without any extensions or path info.
>
> Eg how do I return "about" from
> "http://www.domainz.com/about.htm".
>
> Regards,
>
> Matthew Delmarter
>
> --
> 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