Hello I am trying to link an account through creating a similar form from one on site to log into (http://1betvegas.com/default.aspx). I am creating an interface where you will be able to link your account without actually having to go to site and you will be able to make bets and everything through interface.
My issue is that when I am sending over the data it is not logging in and I think it might have to do with the onkeypress() in the form section, but not to sure.
Code:
<form name='aspnetForm' method='post' action='http://1betvegas.com/default.aspx' onkeypress='javascript:return WebForm_FireDefaultButton(event, 'ctl00_MainContent_ctlLogin_BtnSubmit')' id='aspnetForm' style='margin: 0 0 0 0;'>
<table>
<tr>
<td>
username:
</td>
<td>
<input name='ctl00$MainContent$ctlLogin$_UserName' type='text' size='15' id='ctl00_MainContent_ctlLogin__UserName' accesskey='u' tabindex='60' class='login_input'>
</td>
</tr>
<tr>
<td>
password:
</td>
<td>
<input name='ctl00$MainContent$ctlLogin$_IdBook' type='hidden' id='ctl00_MainContent_ctlLogin__IdBook'>
<input name='ctl00$MainContent$ctlLogin$Redir' type='hidden' id='ctl00_MainContent_ctlLogin_Redir' value='wager/welcome.aspx'>
<input name='ctl00$MainContent$ctlLogin$_Password' type='password' size='15' id='ctl00_MainContent_ctlLogin__Password' accesskey='p' tabindex='61' class='login_input'>
</td>
</tr>
<tr>
<input type='submit' name='ctl00$MainContent$ctlLogin$BtnSubmit' value='Login' id='ctl00_MainContent_ctlLogin_BtnSubmit' class='login_input' style='text-transform: uppercase;'>
</tr>
</table>
</form>
This code —- all the input boxes and form are from the actual site.
You have errors in
change it to
Notice the quotes and also this is not
php, it’sasp.net.