📄 del.asp
字号:
<!--#include file="admin/checkuser.asp"-->
<!--#include file="Config.asp"-->
<%
Dim GetID,ID
GetID = split(Trim(Request.Form("DelID")),",")
Set Fs = Server.CreateObject("Scripting.FileSystemObject")
For each Str in GetID
VarStr = Split(Str,"|")
ID = VarStr(0)
Path = VarStr(1)
myconn.execute("Delete From Info Where ID="&ID)
If Fs.FileExists(server.mappath(Path)) Then
Set Os = Fs.GetFile(server.mappath(Path))
Os.Delete
Response.Write Path&"已被删除!<br>"
Else
Response.Write Path&"此图片不存在!数据已被删除<br>"
End If
Next
%>
<head>
<meta http-equiv="refresh" content="5;URL=admin/main.asp">
<link href="upstyle.css" rel="stylesheet" type="text/css">
</head>
<body>
OK
</body>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -