|
系统服务下对网站进行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 ... %F2post%B2%D9%D7%F7
http://www.autoitx.com/forum.php ... Post%2B%CC%E1%BD%BB
系统服务下运行“永硕E盘下载器”不成功!
参见:
http://www.autoitx.com/forum.php ... hlight=%D3%C0%CB%B6
望高手解决! |
|