作者:动态网站…
来源:动态网站制作指南
热度:
2006-10-5 14:37:44
写的很简单,只是实现了功能
| 以下是引用片段: <% Function formaturl(yes) If mid(yes,5,1)<>"" then yes1 = left(yes,3) yes2 = right(yes,cint(len(yes))-3) formaturl = yes1 & "." & yes2 else formaturl=yes end if End Function '取得远程网页二进制源代码 Function getBoy(url) 'on error resume next Set objXml = Server.CreateObject("Microsoft.XmlHttp") with objXml .open "get",url,false,"","" .send getBoy = .responsebody end with getBoy = BytesToBstr(GetBoy,"GB2312") Set objXml = nothing end function '处理二进制流代码 |
我来说两句:
推荐文章
相关文章