Return to Snippet

Revision: 52224
at October 17, 2011 00:52 by kidmizere


Initial Code
$path = explode('/', $_SERVER['HTTP_REFERER']);
$filename=$path[count($path)-1];

//$filename will display your file no matter how deep the url

Initial URL


Initial Description


Initial Title
Get Referring Page

Initial Tags
page

Initial Language
PHP