sasori Posted February 2, 2012 Share Posted February 2, 2012 Hi, how to determine which country the IP is coming from ? like e.g when a visitor came to a site, I can log the ip using $_SERVER['REMOTE_ADDR'] , but that's all a combination of numbers, if let's say I want to log only the IP address coming from the US,AU,UK, or any other country that I want specifically, how to do that? Quote Link to comment Share on other sites More sharing options...
Pikachu2000 Posted February 2, 2012 Share Posted February 2, 2012 Google 'php IP geolocation'. Quote Link to comment Share on other sites More sharing options...
The Little Guy Posted February 6, 2012 Share Posted February 6, 2012 You could also download this database: http://ip-to-country.webhosting.info/ Quote Link to comment 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.