|
-
November 28th, 2004, 08:54 PM
#1
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?
SolarFlare
Those who cling to life die and those who defy death live. -Sun Tzu
cout << endl;
return 0;
}
-
November 28th, 2004, 09:02 PM
#2
Re: Find out what URL someone came from
Should be something like getenv("HTTP_REFERER")
The biggest problem encountered while trying to design a system that was completely foolproof,
was, that people tended to underestimate the ingenuity of complete fools.
Douglas Adams
-
November 28th, 2004, 09:23 PM
#3
Re: Find out what URL someone came from
 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. (/edit)
Last edited by SolarFlare; November 29th, 2004 at 05:55 PM.
SolarFlare
Those who cling to life die and those who defy death live. -Sun Tzu
cout << endl;
return 0;
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|