$usr = array("127.0.0.1"); $ip = $_SERVER["REMOTE_ADDR"]; $son = in_array($ip, $usr) ? 'doğru' : 'yanlış'; echo $son