最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
用文本+ASP打造新闻发布系统(五)新闻修改
时间:2022-07-02 23:28:13 编辑:袖梨 来源:一聚教程网
'#######news_update.asp
T ID=clientEventHandlersJS LANGUAGE=javascript>
<% dim myid
myid=Request.QueryString ("id")
if len(myid)=0 then
Response.Write "没有该新闻"
Response.End
end if
dim myfso,myread,mytext,newscontent
'#######打开对应的新闻内容文件,并读取用变量存储
set myfso=createobject("scripting.filesystemobject")
if myfso.FileExists (server.mappath("./news_content/"&myid&".txt")) then
set myread=myfso.opentextfile(server.mappath("./news_content/"&myid&".txt"),1,0)
<% dim myid
myid=Request.QueryString ("id")
if len(myid)=0 then
Response.Write "没有该新闻"
Response.End
end if
dim myfso,myread,mytext,newscontent
'#######打开对应的新闻内容文件,并读取用变量存储
set myfso=createobject("scripting.filesystemobject")
if myfso.FileExists (server.mappath("./news_content/"&myid&".txt")) then
set myread=myfso.opentextfile(server.mappath("./news_content/"&myid&".txt"),1,0)
相关文章
- 歪歪漫画首页入口最新版本下载安装-假的太多真正的官方正版在这里 02-28
- picacg哔咔昵称无法修改 02-28
- 羞羞漫画-登录入口 02-28
- 歪歪漫画-官网首页入口 02-28
- 推特官网-twitter官方网站 02-28
- jm浏览器网站直达-jm网页一键进入 02-28