Wide Skyscraper Virtual Server

usage

Hi to everyone.

Whats that blog for?

This blog has only one function, it’s posible to extraxt an ip adress to an geographical location.

How dows it work.

it’s quite simple, only use this url to extract the ip

http://ip2loc.info/exe/?ip=<ip adress search for>

This script will return an JSON or XML  string with a lot of geoinfo.

Geoinfo Array:

ip = <ip adress search for>
resultcode = <codenumber:200=ok,404=Ip not found,402 = IP not valid>
resultmessage = <message of error/sucess code>
continentcode = <code of the continent where the ip is>
country = <country name>
country_code = <country_code>
region = <region name>
region_code = <region code>
city = <city name>
postalcode = <zip code>
geolng = <longitude>
geolat = <latitude>
extime = <executiontime of script>

If you neet more information and you have the right list, contact me via email blog@ip2loc.info i can implement this

have fun!

PS:

The company can not guarantee / liability for the timeliness / availability / accuracy of the data. It we do not guarantee / liability for any damage to 2 or 3 applications accepted. The use of this service is at your own risk!

dear all,

i updated the script. now its posible to jet the response as JSON or as XML string. The XML shema looks like

<result resultcode=’200′ resultmessage=’OK’ extime=’0.00012′>
<ip>88.10.12.255</ip>
<geodata>
<continentname code=’EU’>Europe</continentname>
<country code=’ES’>Spain</country>
<region code=’06′>Testregion</region>
<city>Testcity</city>
<postalcode>22101</postalcode>
<geolng>7.58</geolng>
<geolat>16.458</geolat>
</geadata>
<adinfo>
<dvdregion>2</dvdregion>
</adinfo>
</result>

to use this you have to add &format=xml to the send string

for Example:

http://ip2loc.info/exe/?ip=88.10.12.250&format=xml

I also added the dvd region of each country.

Hi to everyone.

Whats that blog for?

This blog has only one function, it’s posible to extraxt an ip adress to an geographical location.

How dows it work.

it’s quite simple, only use this url to extract the ip

http://ip2loc.info/exe/?ip=<ip adress search for>

This script will return an JSON or XML  string with a lot of geoinfo.

Geoinfo Array:

ip = <ip adress search for>
resultcode = <codenumber:200=ok,404=Ip not found,402 = IP not valid>
resultmessage = <message of error/sucess code>
continentcode = <code of the continent where the ip is>
country = <country name>
country_code = <country_code>
region = <region name>
region_code = <region code>
city = <city name>
postalcode = <zip code>
geolng = <longitude>
geolat = <latitude>
extime = <executiontime of script>

If you neet more information and you have the right list, contact me via email blog@ip2loc.info i can implement this

have fun!

PS:

The company can not guarantee / liability for the timeliness / availability / accuracy of the data. It we do not guarantee / liability for any damage to 2 or 3 applications accepted. The use of this service is at your own risk!