Hi All,

I'm just starting on a database to track IP addresses.  I'm thinking about
how best to store the IP address - 4 tinyints, varchar or char; as one big
varchar or 4 chunks?

We will eventually want to look at things by net or subnet and being able to
search on the various parts of the address would be useful I suppose and I
clearly need to spot user error like a value over 255.

Is there anything out there that I might use or at least look at for ideas?



PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to