Re: obtain IP from other site ( or domain name)
| From: | Nuno Silva | Date: | Wed, 07 Mar 2001 01:05:51 +0000 |
| Subject: | Re: obtain IP from other site ( or domain name) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-42845@lists.php.net to get a copy of this message | ||
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 jacky@activelifestyle.com "There is nothing more rewarding than reaching the goal you set for yourself"