> 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)

I would have a select box that offers the following:

- Exact IP (123.123.123.123)
- Class C (123.123.123.x)
- Class B (123.123.x.x)
- Custom range

If custom range is selected, use dhtml to activate a custom input menu that
autofills the user's IP into both start and end range. If you don't want to
do the dhtml thing, just do some checks for if the custom range is filled in
and give that precedence. Maybe include radio buttons, but I would still use
_javascript_ to change the selected radio button to indicate which one of the
two the program will use.

-Kevin
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to