The way I am dealing with this is... First convert the IP to a 32bit integer. (In the system it will represented as a 32bit integer) Store it in the database. Perform the comparison operations on this stored data.
Thanks, Lloyd On Mon, 2006-12-04 at 22:07 -0500, Igor Tandetnik wrote: > Kevin Waterson <[EMAIL PROTECTED]> wrote: > > This one time, at band camp, "Igor Tandetnik" > > <[EMAIL PROTECTED]> wrote: > > > >> How is the range specified? > > > > > > In the database the IP is 1.2.3.4 and the range is eg: 65536 > > I don't quite understand. To continue your example, exactly which IP > addresses are considered to fall into the range "65536"? How do you > figure 1.2.3.4 is in this range, if indeed it is? > > Igor Tandetnik > > ----------------------------------------------------------------------------- > To unsubscribe, send email to [EMAIL PROTECTED] > ----------------------------------------------------------------------------- ______________________________________ Scanned and protected by Email scanner ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------