Re: Quick question- extract pagename .html from http://sitenameasdfas.com/pagename.html
| From: | Philip Hallstrom | Date: | Mon, 08 Oct 2001 21:16:34 +0000 |
| Subject: | Re: Quick question- extract pagename .html from http://sitenameasdfas.com/pagename.html | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-70387@lists.php.net to get a copy of this message | ||
http://www.php.net/manual/en/function.parse-url.php
On Mon, 8 Oct 2001, David Yee wrote:
> Is there a function that will extract the filename from a URL? E.g.
>
> $pagename = this_function(http://blahblaasdfash.com/main.php);
>
> $pagename now = "main.php"
>
> Thanks.
>
> David
>