Find out what URL someone came from
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?
Re: Find out what URL someone came from
Should be something like getenv("HTTP_REFERER")
Re: Find out what URL someone came from
Quote:
Originally Posted by khp
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)