<%
On Error Resume Next
Server.ScriptTimeOut=9999999
Function getHTTPPage(Path)
t = GetBody(Path)
getHTTPPage=BytesToBstr(t,"GB2312")
End function
Function GetBody(url)
on error resume next
Set Retrieval = CreateObject("Microsoft.XMLHTTP")
With Retrieval
.Open "Get", url, False, "", ""
.Send
GetBody = .ResponseBody
End With
Set Retrieval = Nothing
End Function
Function BytesToBstr(body,Cset)
dim objstream
set objstream = Server.CreateObject("adodb.stream")
objstream.Type = 1
objstream.Mode =3
objstream.Open
objstream.Write body
objstream.Position = 0
objstream.Type = 2
objstream.Charset = Cset
BytesToBstr = objstream.ReadText
objstream.Close
set objstream = nothing
End Function
response.write(getHTTPPage("http://w2.bafang.cc/link/sc/0_4_8.php?u=chufeng007&type=0&w=8&h=4&fc=0066FF&bgc=ffffff&bdc=0066FF&al=center&tw=848&th=88"))
%>
搜图网-美女图片-美女视频-美女模特-美女车模-美女写真-2008时尚搭配娱乐分享网站!__www.sotuw.com
搜图网图片部分来源于网络,如侵犯了您的版权,请告知,我们将立即改正!