Re: [PHP] Tricky question - referrer from ousite, or from intern?

2002-08-27 Thread Justin French
$_SERVER['HTTP_REFERRER'] (or is it $_ENV['HTTP_REFERRER']?) is your only option. Unfortunately it's not guaranteed to be set by the browser, so your current method of accepting and tracking referrers is flawed, sorry. A page.php?aid=x entry point, combined with sessions or cookies to keep t

Re: [PHP] Tricky question - referrer from ousite, or from intern?

2002-08-27 Thread Andy
Thanx for your answer. This is exactly the problem. I do not want to pass something like this. The user gets a URL like: server.com/user-name He passses it around and someone follows this link to my site. In case this person registeres I am tracking this. But the same links are inside my own site

Re: [PHP] Tricky question - referrer from ousite, or from intern?

2002-08-26 Thread hugh danaher
IFF they just left one of your other sites, then you should be able to pass a variable in the other site's header such as: php.net/function-name?variable=from_somewhere_I_own if the variable isn't set, then they came from a site you don't own. or you could send them to a unique function-name wh