首 页 ASP ASP.NET PHP JSP Ajax DIV+CSS JavaScript XML C#
MySQL MSSQL Access Oracle Linux Server 电脑技巧 网络安全 建站经验 其它

返回一个ASP页面执行后的静态HTML代码

整理日期:2007年08月05日 【字体:

用这个获取页面内容,然后用邮件发出去!下面是远程获取内容的代码

content=getHTTPPage("http://www.google.net")

response.write content

function getHTTPPage(url)
 on error resume next
 dim http
 set http=Server.createobject("Msxml2.XMLHTTP")
 Http.open "GET",url,false
 Http.send()
 if Http.readystate<>4 then exit function
 getHTTPPage=bytes2BSTR(Http.responseBody)
 set http=nothing
 if err.number<>0 then err.Clear
end function

伊图教程网[www.etoow.com]
http://www.etoow.com/html/2007-08/1186276486.html

Tags:
返回一个ASP页面执行后的静态HTML代码
'http://www.etoow.com/html/2007-08/1186276486.html
1
 
信息搜索
  
联系我们关于本站广告服务设为首页 收藏本站友情链接网站地图
Copyright © Etoow.com Inc. All Rights Reserved