Get location details using visitor’s IP


Sometimes we want to display on visitor’s screen their location or local time or their country flag or may be we have to display our site content in their specific language.

So how we can do that?

Yes exactly using visitor’s IP address, every web application developer knows that we can do this using visitor’s IP address and we can easily identify the IP address, but what about the other details, county, language, timezone etc.

I have a very good solution for this need. Use this URL

http://ip-address.domaintools.com/myip.xml

A wonderful free service provided by domaintools.com it will return an XML with all the required details.

I hope it will help you.

Cheers! keep commenting, I like your comments.