$banned = array('158.69.228'); if(in_array($_SERVER['REMOTE_ADDR'], $banned)) { die(); }