Log into website programmably

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Log into website programmably

daaatz

I have a problem.. I want to download to XML some info from website ( this I know how to do ), i know how to dl info from website but problem is when first i need to log in.

Its part of code:

 <form method="post" action="logowanie.php">
                               I need to some how enter username password and press button submit. Any ideas , code samples how to do it ? Thanks very much.

( site is http://www.smanager.pl/logowanie.php )
<label for="username">Login:</label><input type="text" name="username" value=""><div class="submit"><input type="submit" value="OK" name="submit"></div>
<label for="password">Hasło:</label><input type="password" name="password" value="">
Loading...