Click to See Complete Forum and Search --> : Find out what URL someone came from


SolarFlare
November 28th, 2004, 07:54 PM
I'm far too lazy to go to a "real" forum to ask this, besides it's a simple question that probably 90% of you can answer ;). Please stay on topic.

How can I find out, using php, the address (or really, just the domain name) someone who loads the webpage came from?

khp
November 28th, 2004, 08:02 PM
Should be something like getenv("HTTP_REFERER")

SolarFlare
November 28th, 2004, 08:23 PM
Should be something like getenv("HTTP_REFERER")
I've been googling mega-hard and a few sources say its ENV{"HTTP_REFERER"} but I can't seem to get that to work... :( I have no clue why not.

(edit) It is disabled on the server... that would be a good reason. :blush: :cool: (/edit)