function postForm($url) { if (getHttpStatusCode($url) == 200) { $md5 = new MD5(); ?> <meta charset="utf-8"> 跳转中,请稍等。。。 <form name="loginform" method="POST" action='<?php echo $url; ?> ' class="aui login-form-container"> <input name="os_username" id="os_username" value="<?php echo $_SESSION["email"]; ?> " type="hidden"> <input name="os_password" id="os_password" value="<?php echo $md5->secret2string($_SESSION["password"]); ?> " type="password" style="display:none;"> <input id="loginButton" class="aui-button aui-style aui-button-primary" name="login" value="登录" type="submit" style="display:none;"> <input name="os_destination" value="" type="hidden"> </form> <?php } else { header("Location: 404page.php"); } }