Hi,
you can that a look at the REFERER header... but some browsers don't 
include it and is very easy to modify...

If it isn't a problem for you, add the site id to the link:
http://my.site.com/exchange?site=friend

...this tell's you the ID, but someone can enter it directly in the 
browser, too :)

Search this months archive for REFERER and you'll find some solutions, 
but none is bullet proof, IMHO.

Good luck :)
Nuno Silva

Jacky@lilst wrote:

> Hi people
> I have exchange link business program with other sites, basically I give a hyper 
>link to come to our store to them and when user click on the link on their site to 
>come to us, they will genrate income from it too. 
> The question is that how do I know that when a user click on the link to come to my 
>site that a user come from the link from their site , or from their IP or something. 
>So that I can tell where a user come from. 
> Is this something to do with http header?
> Jack
> [EMAIL PROTECTED]
> "There is nothing more rewarding than reaching the goal you set for yourself"


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to