如何用xmlhttp登录校内网(www.xiaonei.com)?
以下是本人编写的代码,但返回的结果总是“密码不能为空”,请指点:程序代码:
set xmlHttp=server.CreateObject("MSXML2.XMLHTTP") '这里换成ServerXMLHTTP结果还是一样 xmlHttp.open "POST","http://login.,false dim poststr '提交的post数据 poststr="email=abc@ "Content-Length",len(poststr) xmlHttp.setRequestHeader "CONTENT_TYPE","application/x-www-form-urlencoded; charset=UTF-8" xmlHttp.setRequestHeader "HTTP_REFERER","http://login. poststr response.Write xmlHttp.responsetext