Jump to content
Sign in to follow this  
haphong86

auto login forum vbb

Recommended Posts

haphong86

#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)

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

Share this post


Link to post
Share on other sites
ZacUSNYR

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

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.