Deepak Ranjan Jena Deepak Ranjan Jena - 1 year ago 67
PHP Question

How to get country name from IP address in php

I want to find country, city, latitude and longitude from IP address using php. I am using this url and it is returning data in xml format.

The data is coming like this:

<Region>West Bengal</Region>


Can anybody suggest how to parse and get the result