PDA

View Full Version : redirecting based on location on earth



MonteChristo
02-14-2008, 08:13 PM
does anyone know where i can find some information - i want a website that when a user opens the site from a particular place on earth, they will be redirected to the appropriate page. ex. someone in japan visits mysite.com, the site somehow reads the users ip or somthing and then redirects them to the mysite.com/japan page.....

ddadmin
02-14-2008, 08:45 PM
Try doing a search on Google for ip country detect (http://www.google.com/search?q=ip+country+detect&sourceid=navclient-ff&ie=UTF-8&rlz=1B3GGGL_enCA244CA244) or geo ip (http://www.google.com/search?hl=en&safe=off&rlz=1B3GGGL_enCA244CA244&q=geo+ip&btnG=Search&aq=t). There are quite a few paid (a few free as well) databased you can purchase that map IPs to geography for you to use within your scripts.

djr33
02-14-2008, 10:55 PM
We've also had a few discussions over time in the PHP section on this topic. This isn't something that can really be done with Javascript though.

MonteChristo
02-14-2008, 11:04 PM
thanks for the feedback.