masks, then it would be the starting IP to the ending IP of the subnet.
I recommend storing the IP ranges as decimals for the most efficient
lookups. Check out this UDF for converting to/from decimal:
http://www.cflib.org/udf.cfm?ID=946
Wouldn't hurt to do some reading on subnetting as well..
HTH
-Ryan
_____
From: Troy Montour [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 19, 2004 10:25 AM
To: CF-Talk
Subject: Checking an IP Address
Hello everyone.
Writing a CF message board and want to add a feature to be able
to ban a person by IP adress.
I have it working for the exact match.
but was thinking this person could have dynamic ip address's so
I want to give the admin the choice of banning the block. I was thinking
away I could do this is to have them type something like this
222.222.000.000 so the zero's could be anything.
anyone have something like this? or would a range be a better
UI? (222.222.343.12 to 222.222.343.15)
Thanks in advance for any direction or help.
Troy Montour
_____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

