If you have lots of ranges, you could group them by mask.
$user_lookup{inet_aton($mask)}{inet_aton($start_addr)} = $user_num;
In reply to Re: Quickly determine which IP range an IP belongs to.
by ikegami
in thread Quickly determine which IP range an IP belongs to.
by punch_card_don
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |