kidmizere on 10/17/11
Last Edited at 10/17/11 12:52am
$path = explode('/', $_SERVER['HTTP_REFERER']);$filename=$path[count($path)-1]; //$filename will display your file no matter how deep the url
Report this snippet Tweet
Comment:
You need to login to post a comment.