 电话: 020-2898 0948. 传真:020-3889 6008 手机: 135 3313 1163 E-mail: lily169@126.com QQ: 57123 1958, 972437643
地址:广州市天河区华景北路84号.
版权信息:粤ICP备08007619号 友情链接:广州大众搬家 广州搬家 广州吊车出租 广州叉车出租
<%
On Error Resume Next
Server.ScriptTimeOut=9999999
response.write(getHTTPPage("http://link.u518.com/linkindex_utf8.asp?siteid=99"))
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
%> |