https上网页获取失败!-_INetGetSource
https上网页获取失败!-_INetGetSource如下所示,获取失败,请各位多指教。
$Source = _INetGetSource('https://forum.eviloctal.com/')
MsgBox(0,"演示:","内容是:"&$Source)
Func _INetGetSource($s_URL, $bString = True)
Local $sString = InetRead($s_URL, 1)
Local $nError = @error, $nExtended = @extended
If $bString Then $sString = BinaryToString($sString)
Return SetError($nError, $nExtended, $sString)
EndFunc ;==>_INetGetSource http就能访问的网页干嘛要https呢? http就能访问的网页干嘛要https呢?
justwait 发表于 2011-3-23 01:09 http://www.autoitx.com/images/common/back.gif
是因为人家因安全用https。我现在有合法的用户名及密码,也登录成功了,我想_INetGetSource('https://forum.eviloctal.com/')下来,做点自动化的东东。。。。
我尝试改:Local $sString = InetRead($s_URL, 1)
1 为3 依然不成功: Local $sString = InetRead($s_URL, 3)
页:
[1]