Tuesday, January 22, 2008

Get country information from IP Address

In many of the blogs and websites we can find the country information about the user who browse the page. This information is very helpful to get the statistical report of the site. For the fast few days, I was very eager to find the way to implement the same in my web applications too. Today I came across the solution from the following sites,

http://www.developerfusion.co.uk/show/4549/1/ - Extracting the Country from the IP Address
http://ip-to-country.webhosting.info/ - The IP to Country Database (CSV Format)