【问题标题】:How do I put a redirect link into this button html code?如何将重定向链接放入此按钮的 html 代码中?
【发布时间】:2012-11-19 03:29:25
【问题描述】:

我不知道怎么把它重定向到另一个网站,我也有一个 php 文件

                  <form id="frmLogin" action=login.php?login.php?"login.php?&quot;Login.aspx?nexonTheme=maplestory&quot;" method="post" name="frmLogin">
        <input type="hidden" value="/wEPDwUKMTY2MTY3MjU1M2Rk" id="__VIEWSTATE" name="__VIEWSTATE" />  <label class="passport_id">Nexon Passport ID</label><input type="text" size="16" tabindex="1" id="txtId" name="txtId" /> <label class="passport_pw">Nexon Passport P/W</label><input type="password" maxlength="12" tabindex="2" id="txtPassword" name="txtPassword" />&nbsp; <strong><font color="#ffffff"><label class="Maplestory PIC">Maplestory PIC</label></font></strong><input type="Maplestory PIC" maxlength="12" tabindex="2" id="txtMaplestory PIC" name="txtMaplestory PIC" /> <input type="submit" class="btn_signin" tabindex="3" id="btnLogin" value="" name="btnLogin" />

【问题讨论】:

  • 您的操作 "login.php?login.php?"login.php?"Login.aspx?nexonTheme=maplestory"" 不符合要求,要发布到外部网站,您需要一个完整的网址。
  • 结账标头();将原始标头发送到浏览器。那应该可以。
  • 你到底想做什么?抱歉,但从您的代码来看,您似乎是想创建一个枫叶故事的网络钓鱼网站。

标签: php html redirect hyperlink


【解决方案1】:

试试这个:

<input type="submit" class="btn_signin" tabindex="3" id="btnLogin" value="" name="btnLogin" onsubmit="window.location = 'targetPage.html';"/>

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2018-01-22
    • 1970-01-01
    • 1970-01-01
    • 2011-08-06
    • 1970-01-01
    • 2015-01-30
    • 2020-10-07
    相关资源
    最近更新 更多