Welcome to the Monastery | |
PerlMonks |
log into a website via perl clientby shrubbery (Acolyte) |
on Feb 06, 2004 at 17:20 UTC ( [id://327147]=perlquestion: print w/replies, xml ) | Need Help?? |
shrubbery has asked for the wisdom of the Perl Monks concerning the following question:
Here's a question thats pretty simple yet I can find a single place that answers it. How do I get perl to login a website ? I'm trying to make a dynamic DNS update script that logs into my router. The HTML source basically just has a password field like this: <td><INPUT type="password" maxLength=12 size=9 name=pws></td> and a submit: <td><input type="Submit" value="LOGIN"> <input name="Close" onClick="self.close();return false" type="button" value="CANCEL"><BR><BR></td> All I want to do is have the perl script "type" in the password and submit it so I can access the webpages in the router. I'm hitting my head on the wall since the problem is so simple and I can't find a solution.
Back to
Seekers of Perl Wisdom
|
|