在网上找了许多,都是不能用的了,本地登陆还好,放到网站就显示:
警告:系统检查到您可能通过不安全的网站登录,请您登录后立即修改密码!
但是老板着急让完成。就接着百度。终于搞定。
代码共有两部分:
一、登陆页面:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "www.w3c/TR/1999/REC-html401-19991224/loo.dtd">
<HTML xmlns="www.w3/1999/xhtml"><HEAD><TITLE>中药方大全</TITLE>
<META content="text/html; chart=gbk" http-equiv=Content-Type>
<SCRIPT type=text/javascript src="config.js"></SCRIPT>
</HEAD>
<BODY >
<FORM id=gomail class=c_form onSubmit="return checktype(this);"
method=post name=gomail action=JavaScript:><INPUT type=hidden name=url>
香港男歌手
<INPUT type=hidden name=urname> <INPUT type=hidden name=type> <INPUT
type=hidden name=password> <INPUT type=hidden name=domain> <INPUT
value=/int.html type=hidden name=.done> <INPUT
type=hidden name=ur> <INPUT type=hidden name=pass> <INPUT value=true
type=hidden name=enterVip> <INPUT type=hidden name=UrName> <INPUT
type=hidden name=Password> <INPUT type=hidden name=u> <INPUT type=hidden
name=psw> <INPUT type=hidden name=login> <INPUT type=hidden
name=LoginName> <INPUT type=hidden name=usr> <INPUT type=hidden name=func>
<INPUT type=hidden name=login_name> <INPUT type=hidden
name=login_password> <INPUT type=hidden name=BackURL> <INPUT
le.com/mail?ui=html&zy=l type=hidden
name=continue> <INPUT type=hidden name=Email> <INPUT type=hidden
name=email> <INPUT type=hidden name=domainname> <INPUT value=fal
type=hidden name=firstlogin> <INPUT type=hidden name=starttime> <INPUT
type=hidden name=p2> <INPUT type=hidden name=passwd> <INPUT type=hidden
name=id> <INPUT type=hidden name=m> <INPUT type=hidden name=mpass> <INPUT
type=hidden name=loginid> <INPUT type=hidden name=appid> <INPUT
type=hidden name=ru> <INPUT type=hidden name=eru> <INPUT type=hidden
name=fl> <INPUT type=hidden name=ct> <INPUT type=hidden name=vr> <INPUT
type=hidden name=sg> <INPUT type=hidden name=vwriter> <INPUT type=hidden
name=vpassword> <INPUT type=hidden name=passport_51_ur> <INPUT
type=hidden name=passport_51_password> <INPUT type=hidden name=gourl>
特别活动
<INPUT type=hidden name=Passwd> <INPUT value=cn type=hidden name=.intl>
<INPUT type=hidden name=origURL> <INPUT type=hidden name=formName> <INPUT
type=hidden name=method> <INPUT value=true type=hidden name=isplogin>
<UL>
<LI><LABEL for=mail_ur_ican123>帐 号</LABEL> <INPUT id=mail_ur_ican123
class=int size=25 type=text name=uName> </LI>
<LI><LABEL for=mail_ail_rver_ican123>邮 箱</LABEL> <SELECT
id=mail_rver_ican123 class=lect onchange=shortcut() name=domains>
<OPTION lected value=lected>--请选择--</OPTION> <OPTION 营业执照英文
孙子兵法作战篇
会议标准 value=163& 网易</OPTION> <OPTION value=126&</OPTION>
语死早
<OPTION value=sohu& 搜狐</OPTION> <OPTION value=sina&
补脾益气 新浪</OPTION> <OPTION value=tom&</OPTION> <OPTION
value=yahoo&</OPTION> <OPTION
value=yahoocn>yahoo</OPTION> <OPTION value=21cn&</OPTION
广告湿巾>
<OPTION value=eyou& 亿邮</OPTION> <OPTION
value=vipsina></OPTION> <OPTION
value=vip163></OPTION> <OPTION value=263>263</OPTION>
<OPTION value=yeah>yeah</OPTION> <OPTION
value=lected>以下请在弹出页登陆↓</OPTION> <OPTION
value=gmail&</OPTION> <OPTION value=qq&</OPTION>
<OPTION value=188&</OPTION> <OPTION value=139&</OPTION>
<OPTION value=sogou&</OPTION> <OPTION
value=hotmail&</OPTION> <OPTION
value=kaixin001>开心网</OPTION> <OPTION
value=lected>--社交网及其他--</OPTION> <OPTION value=baidu>百度账号</OPTION>
<OPTION value=renren>人人网</OPTION> <OPTION value=tianya>天涯社区</OPTION>
<OPTION value=51& 博客</OPTION> <OPTION value=cren>ChinaRen
校友录</OPTION></SELECT> </LI>
<LI><LABEL for=mail_passwd_ican123>密 码</LABEL> <INPUT
id=mail_passwd_ican123 class=int size=15 type=password name=uPw> <INPUT id=mail_submit_ican123 class=btn value="登 录" type=submit name=btn_my>