Hoe to get file name?
| From: | afan | Date: | Thu, 26 Oct 2000 22:14:18 +0000 |
| Subject: | Hoe to get file name? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-3534@lists.php.net to get a copy of this message | ||
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!