Click to See Complete Forum and Search --> : http_referer


nkeg
02-26-2004, 08:12 PM
how do you use the http_referer to know the page the user came from? I mean where do you write it, can I just print it to the screen using echo? will it be something like
echo($_SERVER['http_referer']);
but this doesn't work. I know it's wrong but I don't know why. Excuse me if my question is too stupid but I'm really new to php and I'm not yet used to it.

Khalid Ali
02-26-2004, 08:21 PM
try caps instead in the parameter in server array

nkeg
02-26-2004, 08:25 PM
thank you :) it worked.

Khalid Ali
02-26-2004, 08:29 PM
:-)
You are welcome