RE: [PHP] Correlation between visitor's physical location and IP address
| From: | Sander Pilon | Date: | Fri, 15 Dec 2000 11:13:59 +0000 |
| Subject: | RE: [PHP] Correlation between visitor's physical location and IP address | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-30490@lists.php.net to get a copy of this message | ||
> Hello all
>
> I am currently working on a project where prices in 2 currencies must be
> displayed on a web site. Web visitors from Europe should be shown
> the price
> in Euro and those outside Europe should be shown the price in US Dollars.
>
> Due to a whole list of 'political' problems, the European
> customers should
> not be able to see the USD prices and the non-EU customers should not be
> able to see the USD prices. I know that sucks, but that is the
> way it is. I
> cannot change it, unfortunately.
>
There is none, and you know it :) There is *NO WAY* to hide the prices from
eachother,
and having differences in prices is just plain wrong business, you WILL get
complaints
unless you have good reasons to have different prices - in which case you
dont need to
hide them.
You can try using this:
http://www.caida.org/tools/utilities/netgeo/NGServer/index.xml
But your plan vanishes in a jiffie when the user surfs using an anonymous
proxy.
>
> Somehow these two sites 'know' where I am physically located. Now, how do
> they do that?
>
Altavista probably probes IE/Netscape, IE at least sends language settings.
(Even 'less preferred locale languages')
Imdb probably checks domain extension or ripe info.