NegativeNrG Posted March 13, 2006 Share Posted March 13, 2006 (edited) Ok, i keep getting an error that says: Variable Must be a type of 'Object'. i can't figure out how to stop that error, and its for posting(just like autoit1...2..3). Code: $oIE = _IECreate(0) _IENavigate($oIE,'website') _IEClickLinkByText($oIE,'General Discussion') _IEClickimg($oIE,'Post new topic','alt') $form = _IEFormGetObjByName($oIE, "post") $o_title = _IEFormElementGetObjByName($form, "subject") ;$o_desc = _IEFormElementGetObjByName($o_form, "TopicDesc") $o_message = _IEFormElementGetObjByName($form, "message") _IEFormElementSetValue($o_title, 'testing') ;_IEFormElementSetValue($o_desc, "I'm a knucklehead...") _IEFormElementSetValue($o_message, 'Ignore This post. THanks') _IEFormSubmit($form) This is the 'Post' form name: <form action="posting.php" method="post" name="post" onsubmit="return checkForm(this)" enctype="multipart/form-data"> This is where you input your message: <textarea name="message" rows="15" cols="35" wrap="virtual" style="width:450px" tabindex="3" class="post" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);"></textarea> Also, The forum is PHPBB, if you really want to look at the forum, PM ME. sorry. Edited March 13, 2006 by NegativeNrG [size=20]My File Upload[/size]Register at my site and upload. Link to comment Share on other sites More sharing options...
Valuater Posted March 13, 2006 Share Posted March 13, 2006 $o_form, "TopicDesc") $form... or $o_form ??? 8) Link to comment Share on other sites More sharing options...
NegativeNrG Posted March 13, 2006 Author Share Posted March 13, 2006 As you can see, that line is commented. [size=20]My File Upload[/size]Register at my site and upload. Link to comment Share on other sites More sharing options...
Valuater Posted March 13, 2006 Share Posted March 13, 2006 i just found PHPBB site.. and ran it it clicked the button for discusion, however when i wanted to read the portion for posting... i got the error because i was not logged in... so do you need to log in first?? 8) Link to comment Share on other sites More sharing options...
NegativeNrG Posted March 13, 2006 Author Share Posted March 13, 2006 well, we are already logged in, (login automatically cookie). [size=20]My File Upload[/size]Register at my site and upload. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now