最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
asp 在线记事本程序
时间:2008-09-30 编辑:简简单单 来源:一聚教程网
<%
if session("username")="" or session("use_type")<>"超级管理员" then
response.Write("")
response.end
end if
dim path,filename,filetype,fileconten,fso
path=request("path")
filename=html_encode(request("filename"))
filecontent=request("filecontent")
filetype=request("filetype")
if instr(filename,"*")>0 or instr(filename,"?")>0 or instr(filename,"&")>0 or len(filename)<0 or filename="" then
response.Write("")
response.end
else
set fso=server.createobject("scripting.filesystemobject")
if fso.fileexists(path&filename&filetype) then
response.Write("")
response.End()
end if
set input=fso.createtextfile(server.mappath(path&filename&filetype),true)
input.writeline(filecontent)
input.close
if err then
response.Write("")
else
%>
<%
'response.redirect("try/mange_page.asp")
end if
end if
%>
-
上一个: asp fso数据备份程序
-
下一个: asp简单聊天室程序 一
相关文章
- asp仿采集程序 09-05
- asp 输出word文档程序 02-22
- asp sogou收录抓取程序 12-03
- asp 程序提示中午好,上午好程序 06-23
- [招聘]asp程序员 2000-5000 04-06
- [招聘] asp程序员 03-27