ferrit91 Posted June 28, 2010 Share Posted June 28, 2010 Hi, i am starting a site but i only wish to run it in the UK at first then go to more countries. How do i get the location of a user and if the location is not England, Wales, Scotland or Northern Ireland they get diverted to a page that says the site is not open in there country yet. Link to comment https://forums.phpfreaks.com/topic/206120-get-location/ Share on other sites More sharing options...
ToonMariner Posted June 28, 2010 Share Posted June 28, 2010 have a look at this http://www.maxmind.com/app/geolitecountry. Link to comment https://forums.phpfreaks.com/topic/206120-get-location/#findComment-1078466 Share on other sites More sharing options...
Stooney Posted June 28, 2010 Share Posted June 28, 2010 Also, check this out. It's a free public API. http://ipinfodb.com/ip_location_api.php Link to comment https://forums.phpfreaks.com/topic/206120-get-location/#findComment-1078467 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.