I'm trying to include a "ban" script to put on the index page of my website so that a range of IP addresses can't view it. (The sitemeter stats give IP addresses of visitors minus the last octet.) Can anyone tell me whether this is right:

Code:
<? if(strstr($_SERVER['REMOTE_ADDR'] ,"82.30.155.")) { die("<font size=+2><b><center>[message]</font></b></center>"); }?>
to stop, say IP address 82.30.155.70 viewing the page, or whether I need to do something different to place a wildcard for the last octet? I know the basic script is right because I've used it successfully in the past.