Html 登录按钮重定向到其他页面

Html 登录按钮重定向到其他页面,html,redirect,Html,Redirect,好的,我正在为一个朋友的网站工作,她想要一个登录名,当他们登录时,如果信息正确,它会将他们重定向到该页面,只有会员才能看到该页面。到目前为止,这就是我所拥有的 <div style="text-align: center;"> <div style="box-sizing: border-box; display: inline-block; width: auto; max-width: 480px; background-color: #FFFFFF; bo

好的,我正在为一个朋友的网站工作,她想要一个登录名,当他们登录时,如果信息正确,它会将他们重定向到该页面,只有会员才能看到该页面。到目前为止,这就是我所拥有的

    <div style="text-align: center;">
    <div style="box-sizing: border-box; display: inline-block; width: auto; max-width: 480px; background-color: #FFFFFF; border: 2px solid #0361A8; border- radius: 5px; box-shadow: 0px 0px 8px #0361A8; margin: 50px auto auto;">
    <div style="background: #0361A8; border-radius: 5px 5px 0px 0px; padding: 15px;"><span style="font-family: verdana,arial; color: #D4D4D4; font-size: 1.00em; font-weight:bold;">Login to Members Section</span></div>
    <div style="background: ; padding: 15px">
    <style type="text/css" scoped="">
    td { text-align:left; font-family: verdana,arial; color: #064073; font-size: 1.00em; }
    input { border: 1px solid #CCCCCC; border-radius: 5px; color: #666666; display: inline-block; font-size: 1.00em;  padding: 5px; width: 100%; }
    input[type="button"], input[type="reset"], input[type="submit"] { height: auto; width: auto; cursor: pointer; box-shadow: 0px 0px 5px #0361A8; float: right; text-align:right; margin-top: 10px; margin-left:7px;}
    table.center { margin-left:auto; margin-right:auto; }
    .error { font-family: verdana,arial; color: #D41313; font-size: 1.00em; }
    </style>
    <form method="post" action="http://www.authpro.com/auth/deluxe/"  name="aform" target="_top">
    <input type="hidden" name="action" value="login">
    <input type="hidden" name="hide" value="">
    <table class='center'>
    <tr><td>Login:</td><td><input type="text" name="login"></td></tr>
    <tr><td>Password:</td><td><input type="password" name="password"></td> </tr>
    <tr><td>&nbsp;</td><td><input type="submit" value="Login"></td></tr>
    <tr><td colspan="2">&nbsp;</td></tr>
    <tr><td colspan="2">Lost your username or password? Find it <a href="http://www.authpro.com/auth/userproject/?action=lost">here</a>!</td></tr>
    <tr><td colspan="2">Not member yet? Click <a href="http://www.authpro.com/auth/userproject/?action=reg">here</a> to register. </td></tr>
    </table>
    </form>
    </div></div></div>

一切都正常运转。当您按下登录时运行的脚本,但它将重定向您

,您的问题是什么?我没有看到任何错误,我试图让它在他们登录时,他们被重定向到一个特定的页面,只有登录后才能看到和使用。你可以在PHP和MySQL中完成所有这些。这应该让你开始