系统服务下如何对网站进行get或post操作?
系统服务下对网站进行get或post操作不成功!代码:
;---------------------------------------------------------------------------------------------------------------------------
$oHTTP = ObjCreate("microsoft.xmlhttp")
$oHTTP.Open("post","http://www.wansong.net/user/UserLogin.asp",false)
$oHTTP.setRequestHeader("Cache-Control", "no-cache")
$oHTTP.setRequestHeader("Content-Type","application/x-www-form-urlencoded")
$oHTTP.setRequestHeader("Referer","http://www.wansong.net/loginframe.htm")
$oHTTP.Send("UserName=****&UserPass=****&CookieDate=30&submit=%B5%C7+%C2%BC")
;UserName和UserPass为表单中的input值
;---------------------------------------------------------------------------------------------------------------------------
参见:
http://www.autoitx.com/forum.php?mod=viewthread&tid=2630&highlight=%B6%D4%CD%F8%D5%BE%BD%F8%D0%D0get%BB%F2post%B2%D9%D7%F7
http://www.autoitx.com/forum.php?mod=viewthread&tid=160&highlight=%CA%B5%CF%D6%CD%F8%D2%B3%CA%FD%BE%DD%B5%C4Post%2B%CC%E1%BD%BB
系统服务下运行“永硕E盘下载器”不成功!
参见:
http://www.autoitx.com/forum.php?mod=viewthread&tid=4654&highlight=%D3%C0%CB%B6
望高手解决! 我的问题和楼主一样
页:
[1]