SteveO Posted August 14, 2007 Share Posted August 14, 2007 (edited) I'm trying to make a login script for Neopets.com, it's odd though because the form objects have no ID's. So I tried entering a 1 being as it was the first form listed in IE Builder. this is what i've got this far Func Login() Global $IE = _IECreate($S_url, 0, 1, 1) $Login = _IEFormGetObjByName($IE,"1") $User = _IEFormElementGetObjByName($Login,"username") _IEFormElementSetValue($User,$Username) _IEFormSubmit($Login) EndFunc the login page is at http://neopets.com/loginpage.phtml Edited August 14, 2007 by SteveO Link to comment Share on other sites More sharing options...
SteveO Posted August 14, 2007 Author Share Posted August 14, 2007 anyone? Link to comment Share on other sites More sharing options...
mikehunt114 Posted August 14, 2007 Share Posted August 14, 2007 0-based index, so if it's the first form, use 0 in _IEFormGetCollection. IE Dev ToolbarMSDN: InternetExplorer ObjectMSDN: HTML/DHTML Reference Guide[quote]It is surprising what a man can do when he has to, and how little most men will do when they don't have to. - Walter Linn[/quote]--------------------[font="Franklin Gothic Medium"]Post a reproducer with less than 100 lines of code.[/font] 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