Home > DOTNET, General, Java, PHP > Get IP location from ASP.NET, PHP, etc.

Get IP location from ASP.NET, PHP, etc.

Just found this free service http://ipinfodb.com/ip_location_api.php

XML API:

To get City precision:

http://ipinfodb.com/ip_query.php?ip=your_ip_address

To get Country precision: (claims this is more faster than above)

http://ipinfodb.com/ip_query_country.php?ip=your_ip_address

Get more details about xml api here: http://ipinfodb.com/ip_location_api.php

JSON API:

To get City precision:

http://ipinfodb.com/ip_query.php?ip=your_ip_address&output=json

To get Country precision:

http://ipinfodb.com/ip_query_country.php?ip=your_ip_address&output=json

Optional call back:

http://ipinfodb.com/ip_query.php?ip=your_ip_address&output=json&callback=myfunction

Get more details about json api here: http://ipinfodb.com/ip_location_api_json.php

VN:F [1.9.18_1163]
Rating: 5.0/5 (2 votes cast)
Get IP location from ASP.NET, PHP, etc., 5.0 out of 5 based on 2 ratings

No related posts.

Categories: DOTNET, General, Java, PHP