28,390
社区成员
发帖
与我相关
我的任务
分享
<%
dim filename
filename=Request.Form("f1")
If filename<>"" Then
set fso=server.CreateObject("scripting.filesystemobject")
if fso.fileexists(server.MapPath(filename)) then
fso.filedelete(filename)
Response.write "<script>alert('删除成功')</script>"
Else
Response.write "<script>alert('该文件不存在')</script>"
end if
end if
%>