<H2>用户登录 Member Login</H2>
<DIV class=new_login>
<TABLE style="MARGIN: 10px 0px 0px" cellSpacing=0 cellPadding=0 width="100%"
border=0>
<TBODY>
<TR>
<TD align=right width="33%" height=22>Username:</TD>
<TD width="67%"><INPUT class="userform msg_error" id=log_email
onblur=_DoEmailValid(); maxLength=50
name=log_email></TD></TR>
<TR>
<TD align=right height=22> </TD>
<TD id=log_1>
<DIV class=log_error id=log_email_err>请输入您的用户名。</DIV></TD></TR>
<TR>
<TD align=right height=22>Password:</TD>
<TD><INPUT class=userform onkeypress=_DoLoginSubmit(event); id=log_passwd
onblur=_DoPasswdValid(); type=password maxLength=50 value=""
name=log_passwd></TD></TR>
<TR>
<TD height=22> </TD>
<TD id=log_2></TD></TR>
<TR>
<TD height=22> </TD>
<TD>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=top align=middle width=76 height=35><A onfocus=this.blur();
onclick="_DoLoginProcess(); return false;" href="javascript:void(0);"><IMG
src="images/bottom.gif"></A></TD>
<TD width=91> </TD>
<TD vAlign=top align=middle width=75><A onfocus=this.blur();
href="register.php"><IMG src="images/bottom1.gif" border=0></A></TD>
<TD width=66> </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></DIV>
--------------------------------------------------------------------------
测不到表单不代表一定无法自动登录
网页源码红色部分为重点
#include <IE.au3>
$oIE = _IECreate ("http://www.returnees.org.cn/call/login.php")
$a=_IEGetObjByName($oIE,"log_email")
$b=_IEGetObjByName($oIE,"log_passwd")
_IEFormElementSetValue ($a, "lynfr8");账号
_IEFormElementSetValue ($b, "AutoIt");密码
_IEImgClick ($oIE, "images/bottom.gif", "src")
|