God said:Didn't somebody already post this? I may be wrong.
<?php
$ip[] = "127.0.0.1";
$ip[] = "";
foreach($ip as $ips){
if(in_array($_SERVER['REMOTE_ADDR'], $ips))
die("banned");
}
?>
xhtmlphp said:Pretty cool except 'in_array' would be more appropriate for this use.