Actually, now that I notice, this is probably better as ```referer``` since the php variable is ```$_SERVER['HTTP_REFERER']```.