stuckwithcode Posted March 11, 2010 Share Posted March 11, 2010 Is it possible to determine the country the user is in based on their ip address. Thanks, and ideas are welcome Quote Link to comment https://forums.phpfreaks.com/topic/194886-ip-address-and-location/ Share on other sites More sharing options...
PravinS Posted March 11, 2010 Share Posted March 11, 2010 Yes, it can be determined. You can check this url http://www.ip2location.com/ Quote Link to comment https://forums.phpfreaks.com/topic/194886-ip-address-and-location/#findComment-1024678 Share on other sites More sharing options...
monkeytooth Posted March 11, 2010 Share Posted March 11, 2010 Yes, using something like GEOIP. But not through the core functions of PHP, HTML, Java, and so on.. this is something your going to need to tie into 3rd party and code around to make work the way you need Quote Link to comment https://forums.phpfreaks.com/topic/194886-ip-address-and-location/#findComment-1024679 Share on other sites More sharing options...
stuckwithcode Posted March 11, 2010 Author Share Posted March 11, 2010 I there an easier way to tell only the country of origin I dont require any other information just the country. Thanks, if not if there a free way Quote Link to comment https://forums.phpfreaks.com/topic/194886-ip-address-and-location/#findComment-1024682 Share on other sites More sharing options...
monkeytooth Posted March 11, 2010 Share Posted March 11, 2010 There are always free ways per say I remember seeing some on my travels so to speak looking for other stuff. But the issue is as is with anything. "You get what you pay for" most IP to location services are not opensource and even if they are there databases aren't. Cause the data pool for all the countries in all the world, the service hubs in the area's the ever going online community and so on theres a lot of date to check for integrity, a lot of bandwidth to be used whilst doing checks and so on. However I have heard of scripts that are starting to surface that seem to be using something from google and their maps that does location on the fly (i think) maybe you can look into something like that as I can't picture google charging for anything. Quote Link to comment https://forums.phpfreaks.com/topic/194886-ip-address-and-location/#findComment-1024686 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.