本帖最后由 kinghu318 于 2011-3-30 10:53 编辑 $oHTTP = ObjCreate("winhttp.winhttprequest.5.1")
$oHTTP.option(6)=0
$oHTTP.SetTimeouts(5000,5000,5000,5000)
$oHTTP.Open("GET", "http://reg.qq.com/cgi-bin/checkconn?seed0.6754959910853089",True)
;$ohttp.open("get","http://reg.qq.com")
;$oHTTP.setRequestHeader("Content-Type", "application/x-www-form-urlencoded")
;$oHTTP.setRequestHeader("($equest-Line)","GET /cgi-bin/checkconn?seed0.6754959910853089 HTTP/1.1");
$oHTTP.setRequestHeader("Accept","*/*");
$oHTTP.setRequestHeader("Accept-Encoding","gzip, deflate");
$oHTTP.setRequestHeader("Accept-Language","zh-cn");
$oHTTP.setRequestHeader("Connection","Keep-Alive");
$oHTTP.setRequestHeader("Cookie","o_cookie=5733721; pgv_pvid=7512144518; pgv_flv=10.0; pgv_r_cookie=111470311834; adid=5733721; adSP=EaUSAOEsFdCCtCXVCb/pXdRBouwK86mFWS9I6x2bggo=_58209_326830_1295572352_; adVer=1833; ac=1,015,; ptcz=1fd9aceda80011406287055058e0a88efc33a13e52610de3c855d36b21858725; AREACODE=1|11|; PCCOOKIE=68612f36e4967017a394312166f98e2cee5dae105c00261e306f695d110f1e90; PCCOOKIE2=2470457838; verifysession=h00088c865c1e27da0c0a127d3020e5dea9bd5a9fceb9b623775f47e5598158aff400034d76431342d1; pgv_info=pgvReferrer=&ssid=s7290891111; htc=67592; vipqq1=1e492dcf4704133ddea6ec02489a1d0e; vipqq2=1301366156; vipqq3=434270681; wdl=82f6bc947b90f8b85b0e7425aff14774b3da185a40d6a43107ff0895275becb0; qzone=1; uts=398c07833d54d753aaf7a708fbb0aec075d65148342cd9a951667789ce858cf0");
$oHTTP.setRequestHeader("Host","reg.qq.com");
$oHTTP.setRequestHeader("Referer","http://reg.qq.com/");
$oHTTP.setRequestHeader("UA-CPU","x86");
$oHTTP.setRequestHeader("User-Agent","Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)");
$oHTTP.send("")
MsgBox(0,"",$oHTTP.responseText)
获取不到信息,在get监视中可以看到返回的流,应该要怎么获取,各位老大帮忙。。。谢谢。。。
|