$ip=$_SERVER['REMOTE_ADDR']; if ($ip=="217.128.20.17") { $ip="192.168.10.1"; } else { $ip = "217.128.20.17"; } $hcase="22"; ?>