深度连接
溯源
洞见
思想探索
共读
深读
<%
Dim Http,HttpUrl
Dim Objstream
'如果是香港或海外服务器,testurl请用https://autohk.link.2898.com/域名
HttpUrl = "https://auto.link.2898.com/index/Autochain/AutoChainYL?sign=a676f5a56f06d2dd6d56542b1060e8bc&id=465753&dtype=html&text=true&code=gbk"
Set Http=server.createobject("MSXML2.XMLHTTP")
Http.open "GET",HttpUrl,False
Http.Send()
If Http.Readystate<>4 then
Response.Write "获取数据失败"
End if
Set Objstream = Server.CreateObject("adodb.stream")
objstream.Type = 1
objstream.Mode =3
objstream.Open
objstream.Write Http.responseBody
objstream.Position = 0
objstream.Type = 2
objstream.Charset = "GB2312"
BytesToBstr = objstream.ReadText
Response.Write BytesToBstr
%>