Posted by Pete on 02/02/06 19:44
I'm using an ip-to-country database (http://ip-to-country.webhosting.info)
to look up top level domains for my website visitors. I found a script that
imports the ip ranges into MySQL with the data type "double". The IP is in
something called a "inet_aton" format, and the highest number I can find in
the database is 4294967295, but I'm not sure if a higher number can show up
with the next update of the ip-to-country database.
I was wondering if I have to use "double" for the ip range fields, or if I
can use another data type to make my database smaller?
Navigation:
[Reply to this message]
|