if(strpos($_SERVER['REMOTE_ADDR'], "64.233") === 0 || strpos($_SERVER['REMOTE_ADDR'], "65.234") === 0){
header("Location: block.php");
}Şeklinde deneyebilir misiniz?
---
Edit: Hatta işi şöyle daha tatlı bir hale de getirebilirsiniz çünkü if fonksiyonunun condition bölümü uzayıp gidebilir.
if(strposa($_SERVER['REMOTE_ADDR'], array("11.111","22.222","33.333")) === 0){
header("Location: block.php");
}
function strposa($haystack, $needles=array(), $offset=0) {
$chr = array();
foreach($needles as $needle) {
$res = strpos($haystack, $needle, $offset);
if ($res !== false) $chr[$needle] = $res;
}
if(empty($chr)) return false;
return min($chr);
}