Re: Correlation between visitor's physical location and IP address

From: Date: Fri, 15 Dec 2000 08:21:22 +0000
Subject: Re: Correlation between visitor's physical location and IP address
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-30477@lists.php.net to get a copy of this message
An interesting site to view is : http://www.visualroute.com/ It visually maps out you to the IP you desire and is pretty interesting to play with. On the site lists technical details on "How they do it" which may help your quest. Granted it'll never be 100% certain but don't let that stop you, it can still be useful imho. Just always allow the user to change their "preference" and life should be grand. The demo above is rather limiting but doing a google search for "visual trace" (note the space) provides other servers running vr without the limitations. Also keep in mind that I may be in Germany and want to view your site and purchase goods in USD. Regards, Philip --.sig [ Want to write Good code? First, write Bad code. ] On Fri, 15 Dec 2000, Stefen Lars wrote: > 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. > > All price data is stored in a mySQL database and PHP4 is to be used to get > this data into the HTML. ;-) > > The question is: > > How can one ascertain the physical location of a web visitors' computer when > he/she comes to the web site? > > Is there a correlation between IP addresses and countries? If there is, > where can one find a table illustrating this information? > > Has anyone attempted something like this? > > Two examples come to mind where a similar solution is in operation: > > 1. www.altavista.com : when I go to www.altavista.com I sometimes get a pop > up window in German telling me that there also exists Altavista in German. > The message is in German. Some how Altavista knows that I am in Germany. > > 2. www.imdb.com : when I look at the details of any movie, I see a link to > amazon.de to buy that movie. I can hardly think that anyone outside Germany > would get that link. > > Somehow these two sites 'know' where I am physically located. Now, how do > they do that? > > If anyone can help me, I would LOVE to here from you! > > /S > > _________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at > http://www.hotmail.com. > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#30477) next »