getting country code based on IP
-
all the free web services seems to reject request after it reaches certain daily hits. I used this one http://dotnetguts.blogspot.com/2008/06/finding-country-from-visitors-ip-in.html\[^\] but its getting a wrong country codes for example in below. I am using my iphone which is in sydney, australia, its logging country code as FR. could someone please help? below is the details logged in database IP, countrycode, browser agent 58.104.249.183 FR Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A341 Safari/528.16
-
all the free web services seems to reject request after it reaches certain daily hits. I used this one http://dotnetguts.blogspot.com/2008/06/finding-country-from-visitors-ip-in.html\[^\] but its getting a wrong country codes for example in below. I am using my iphone which is in sydney, australia, its logging country code as FR. could someone please help? below is the details logged in database IP, countrycode, browser agent 58.104.249.183 FR Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A341 Safari/528.16
I don't know of any "free" sites that do this without a hit-limit. As with everything else, you get what you pay for...
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008
But no longer in 2009... -
I don't know of any "free" sites that do this without a hit-limit. As with everything else, you get what you pay for...
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008
But no longer in 2009...I am not looking to pay for the tool. could you please assist as to why the one that I am using logs incorrect country code. its not the case always. please see the other logs. the first record is getting incorrect country code while remaining is correct. 58.104.249.183 FR 203.6.205.31 AU 203.6.205.31 AU 98.129.43.4 US
-
I am not looking to pay for the tool. could you please assist as to why the one that I am using logs incorrect country code. its not the case always. please see the other logs. the first record is getting incorrect country code while remaining is correct. 58.104.249.183 FR 203.6.205.31 AU 203.6.205.31 AU 98.129.43.4 US
-
What tool did you use to get the location ? Because if I use this one, it works fine : http://www.geoiptool.com/de/?IP=58.104.249.183[^]