I got form code like this:
Plain Text
<form method="post" action="/index.php?id=zaloguj" id="loginForm"> <table> <tr> <!-- td> <img src="img/ikony/user.png" /> </td --> <td> Login: </td> <td> </td> <td> <input type="text" name="xlogin" class="form width100" /> </td> </tr> <tr> <!--td> <img src="img/ikony/key.png" /> </td --> <td> Hasło: </td> <td> </td> <td> <input type="password" name="xhaslo" class="form width100" /> </td> </tr> <tr> <td> </td> <td> </td> <td> <input type="submit" value="Zaloguj" class="form" /> </td> </tr> </table> </form>
And here is my code:
#include <IE.au3> Global $login="mylogin" Global $password="mypassword" $oIE = _IECreate("<a href='http://smoki.nightwood.net/%22,0,1,1' class='bbc_url' title='External link' rel='nofollow external'>http://smoki.nightwood.net/",0,1,1</a>) $oForm = _IEFormGetObjByName ($oIE, "loginForm") $oText = _IEFormElementGetObjByName ($oForm, "xlogin") _IEFormElementSetValue ($oText, $login) $oText = _IEFormElementGetObjByName ($oForm, "xhaslo") _IEFormElementSetValue ($oText, $password) _IEFormSubmit($oForm,0)
Script working almost correctly, fill form fields, but dosen't send this form....
Pls. help.




This topic is locked
