Quick question- extract pagename .html from http://sitenameasdfas.com/pagename.html

From: Date: Mon, 08 Oct 2001 21:14:31 +0000
Subject: Quick question- extract pagename .html from http://sitenameasdfas.com/pagename.html
Groups: php.general 
Request: Send a blank email to php-general+get-70385@lists.php.net to get a copy of this message
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

« previous php.general (#70385) next »