PHP新手上路(七)(3) echo "<input type="password" name="pass">"; echo "<input type="submit" value="continue">"; echo "</form></body></html>"; } else { echo "<html><head><title>恭喜你,你已经通过了密码验证</title></head>"; echo "<script>"; echo 'window.location="http://gophp.heha.net/test/index.php3"'; # 通过密码验证后转入的页面 echo "</script>"; } ?>