Jump to content

Recommended Posts

Posted (edited)
Quote

#include <IE.au3>

$sURL = "http://www.dohoa4u.com/diendan/newreply.php?do=newreply&noquote=1&p=35975"

$sLogin = "username"

$sPassword = "*******"

$oIE = _IECreate($sURL)

$oFormLogin = _IEFormGetObjByName($oIE, "navbar")

$oLogin = _IEFormElementGetObjByName($oFormLogin, "vb_login_username")

$oPassword = _IEFormElementGetObjByName($oFormLogin, "vb_login_password")

_IEFormElementSetValue($oLogin, $sLogin)

_IEFormElementSetValue($oPassword, $sPassword)

_IEFormSubmit($oForm)


fun88|
188bet|
 

but

>"d:\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "E:\Autoit\USB Phong\Auto UP.au3"

--> IE.au3 V2.4-0 Warning from function _IEFormGetObjByName, $_IEStatus_NoMatch

--> IE.au3 V2.4-0 Error from function _IEFormElementGetObjByName, $_IEStatus_InvalidDataType

--> IE.au3 V2.4-0 Error from function _IEFormElementGetObjByName, $_IEStatus_InvalidDataType

--> IE.au3 V2.4-0 Error from function _IEFormElementSetValue, $_IEStatus_InvalidDataType

--> IE.au3 V2.4-0 Error from function _IEFormElementSetValue, $_IEStatus_InvalidDataType

>Exit code: 0 Time: 1.918

:blink:(

someboy help me

Edited by haphong86
  • 5 months later...
Posted (edited)

As an owner of a VB Forum you won't get my help. No good can come out of an auto-login that is logging in via a call to newreply.php.

What are your intentions? Because it sure smells of spam.

Edited by ZacUSNYR

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...