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. Quote 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. Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/206120-get-location/#findComment-1078467 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.