I'm creating a script that will take users location from their ip. I saw this api.But know idea how i can get them in array and print them.
Here is a sample link: http://ipinfodb.com/ip_query.php?ip=74.125.45.100&timezone=true
Bu, örnek yanıtlarını
<Response>
<Ip>74.125.45.100</Ip>
<Status>OK</Status>
<CountryCode>US</CountryCode>
<CountryName>United States</CountryName>
<RegionCode>06</RegionCode>
<RegionName>California</RegionName>
<City>Mountain View</City>
<ZipPostalCode>94043</ZipPostalCode>
<Latitude>37.4192</Latitude>
<Longitude>-122.057</Longitude>
<TimezoneName>America/Los_Angeles</TimezoneName>
<Gmtoffset>-25200</Gmtoffset>
<Isdst>1</Isdst>
</Response>
Nasıl bilgiler bir dizi ve baskı bu alabilirim?