📄 uploadfile_del.asp
字号:
<!--#INCLUDE file="opendb.asp" -->
<!--#INCLUDE file="check.asp" -->
<%
del_id=Request("delid")
strSql="select * from agent_files where id="&del_id&""
set del_rs=conn.Execute (strSql)
if not del_rs.eof then
whichfile=server.mappath("../download/"&del_rs("filename"))
Set fs = CreateObject("Scripting.FileSystemObject")
Set thisfile = fs.GetFile(whichfile)
thisfile.Delete True
end if
del_rs.close
set del_rs=nothing
strSql="DELETE FROM agent_files where id="&del_id
conn.Execute (strSql)
conn.Close
set conn = nothing
Response.Redirect "uploadfile_gl.asp"
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -