I have a custom 404 page, but I want to include on this page the url that gave the error. I tried the variable $HTTP_REFERRER but it is empty.
Any suggestions?
Try spelling with one R ;-)
$HTTP_REFERER
(given it's American spelling, surprised it hasn't got a z in it somewhere)
http://www.phpbuilder.com/manual/language.variables.predefined.php#language.variables.predefined.apache
oops, I did use one r. so i still have the problem
It was giving me a blank var, because I was tying in a wrong url at the address bar. I just tried clicking an a bad link and the var worked.
Thanks anyways