一聚教程网:一个值得你收藏的教程网站

最新下载

热门教程

asp调用265天气代码

时间:2022-07-02 23:12:17 编辑:袖梨 来源:一聚教程网

<%
h_Href = http://down.111com.net
h_Name = "第五吧导航站"
'Go.asp 页面
Sub Frame_Go()
 If Request("Key") = "" Then Response.Redirect "./Index.htm"
End Sub
%>
<%
Url="http://weather.265.com/weather/"&chengid&".htm"
Html = getHTTPPage(Url)
Html=replace(Html,"../js/weather_265_1.js","../weather.js")
Html=replace(Html,"265上网导航","第五吧导航站")
Html=replace(Html,"www.265.com","Www.D58.Net")
Html=replace(Html,"weather.265.com","Www.D58.Net")
Html=replace(Html,"265","d58")
'Html=replace(Html,"265主页","d58主页")
'Html=replace(Html,"265天气","d58天气")
Html=replace(Html,"d58.com","d58.net")
'Response.write Html
Set fs = Server.CreateObject("Scripting.FileSystemObject")
tid = server.mappath("weather/"&chengid&".htm")
Set a = fs.CreateTextFile(tid)
a.Write Html
a.close
set fs=nothing
%>

热门栏目