Quantcast
Channel: Delphi Forum - Delphi Programming Kings of Code - Delphi Tools
Viewing all articles
Browse latest Browse all 636

IP2Location Database [DB1] March Updated

$
0
0
IP2Location™ IP-Country Database [DB1] provides a solution to determine the country of origin for any IP address in a few simple steps. First, retrieve the IP address from the networking protocol or server-side variable of the Web server. Next, translate the IP address to an IP number in decimal format to speed up the database query. Lastly, reverse lookup the IP number from the IP2Location™ database to pinpoint the exact geographical location.

This is a database subscription service. You can download all monthly updates for free if subscription is active.
IPv4 and IPv6 supported.

Current Version November 2017
CSV: 18.20 MB (427,838 Rows)

IP Address to IP Number Conversion 
If the IP address 161.132.13.1, then the IP number is 2709785857. 
IP Number, X = 161 x (256*256*256) + 132 x (256*256) + 13 x (256) + 1 = 2709785857 
In general, this is the formula to convert an IP Address to IP Number. 
Let assume the IP Address is A.B.C.D. 
IP Number, X = A x (256*256*256) + B x (256*256) + C x 256 + D 


For more technical detail please refer to this You can't view the links! Click here to register


 

Viewing all articles
Browse latest Browse all 636

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>