注册 登录
编程论坛 ASP技术论坛

如何用xmlhttp登录校内网(www.xiaonei.com)?

richardchen 发布于 2008-08-19 16:06, 1836 次点击
以下是本人编写的代码,但返回的结果总是“密码不能为空”,请指点:

程序代码:
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
2 回复
#2
lijialong5202008-12-02 10:51
#3
lijialong5202008-12-02 13:58
1