Re: extract(filename)
| From: | John Taylor-Johnston | Date: | Wed, 04 Feb 2004 18:18:29 +0000 |
| Subject: | Re: extract(filename) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-176829@lists.php.net to get a copy of this message | ||
Burhan,
Novel indeed! RTFM :) I was playing around with filename and a few other words.
Didn't think of basename.
Thanks,
J
> > Is there a way to extract the filename of
> > "/home/www/calendars/february2004.html"
> > and swap its extension for .htm?
> How about starting at the manual? What a novel concept that is!
> http://www.php.net/manual/en/function.basename.php