RE: [PHP-WIN] Hoe to get file name?

From: Date: Fri, 27 Oct 2000 00:22:34 +0000
Subject: RE: [PHP-WIN] Hoe to get file name?
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-3544@lists.php.net to get a copy of this message
try basename($URL)... Ignatius > -----Original Message----- > From: afan [mailto:afan@sprout.net] > Sent: Friday, 27 October 2000 08:14 > To: php-windows@lists.php.net > Subject: [PHP-WIN] Hoe to get file name? > > > Hi all, > $HTTP_REFERER willl show complete URL. > $PATH_INFO will show part after server name ($SERVER_NAME). > $QUERY_STRING - string after sign "?" in URL. > > But, how to get file name from URL > (i.g. in > > URL="http://www.domanname.com/scripts/test/phpscript.php" > I > need extract phpscript.php) > > Thanks! > >

« previous php.windows (#3544) next »