|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Creating a program to automatically login to a website
A website has an offer I'd like to capitilize on. Its on a first come first serve basis. All I have to do is log-on to the site and hit the submit button. I'd like to write a program that would continually send the login info and the submit button over and over. Its and .asp webpage.
The login looks like this: <TABLE BORDER=0 class=tableStyle> <TR class=normalFont> <TD>Username: </TD> <TD><INPUT TYPE="text" NAME="p_username" SIZE=20 MAXLENGTH=20 ></TD> </TR> <TR class=normalFont> <TD>Password: </TD> <TD><INPUT TYPE="password" NAME="p_pass1" ></TD> </TR> <TR > <TD><BR></TD> <TD><BR></TD> </TR> <TR > <TD><TD align="left"><INPUT TYPE="submit" VALUE="Submit Login" ></TD> </TR> </TABLE> The submit button looks like this: <INPUT TYPE="submit" name="SubmitApplication" VALUE="Submit Complete Application" disabled> I'd like the program to loop over and over again. Any ideas on how to do this? |
|
#2
|
||||
|
||||
|
What language do want to do this in? If you want to use ASP research Microsoft.XMLHTTP. This can "scrape" a page by POSTing the username and password for you
__________________
selwonk If I've posted some code above, you might think it looks a bit simplistic. It might be. I'd rather people tried the next step themselves rather than getting a full solution on a plate. That way they learn more! |
![]() |
| Viewing: ASP Free Forums > Other > Programming Help > Creating a program to automatically login to a website |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|