|
这里面定义的函数是什么意思?
$url1 = "http://mail.163.com/"
$TEXT_BACK = _send2($url1, $cookie)
Func _send2($url1, $cookie, $moreheader = "");cookie 下载代码
Local $MyOpen, $rContext
$MyOpen = _WinHttpOpen()
$moreheader = "User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0"
$rContext = _WinHTTP_GetRespond($MyOpen, $url1, 0 + 2 + 4, "", "", $cookie, $moreheader)
;~ _ArrayDisplay($rContext)
If IsArray($rContext) Then
Return BinaryToString($rContext[0])
Else
Return ""
EndIf
_WinHttpCloseHandle($MyOpen)
EndFunc ;==>_send2 |
|