Source code + SQL
Article

SQL format. Convert IP address to IP number

The table worldip contains fields start, end and code. Every row means a network. start and end are integer fields with IP numbers, code is a double-character country code, like "US".
You can convert every IP address to IP number with following formula
read more »
Please have a look at our
Facebook Page and leave a comment

Creative Commons License
Creative Commons Attribution-Noncommercial 3.0 License