View Single Post
Old 05-14-2003, 08:33 PM   #2 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,446
sde is on a distinguished road
this should work =)
PHP Code:
<?php
$ip
="123.123.123.101";

if (
eregi("123\.123\.123\.([0-9]$|[0-9]{2}$|100$)",$ip))
{
  print 
"Banned";
  exit();
}
else
{
  print 
"passed";
}
?>
__________________
Mike
sde is online now   Reply With Quote