Re: how to read the path of the current document's url

From: Date: Sun, 09 Jan 2005 12:37:23 +0000
Subject: Re: how to read the path of the current document's url
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-205901@lists.php.net to get a copy of this message
"Tim Burgan" <email@timburgan.com> wrote in message news:41E0CC6A.6020506@timburgan.com... > Hello, > > I have a page where the URL is along the lines of > http://www.example.com/test.php > > I've tried using the parse_url() function without success.. I'm trying > to just get "test.php" returned as a string. > > Can someone please point me in the right direction with this. > > Thank you for your time. > > Tim http://de3.php.net/manual/en/function.basename.php Regards, Torsten Roehr

« previous php.general (#205901) next »