youbiankill.asp

来自「采用asp+fso技术 傻瓜式的程序安装和调试 用户无需考虑系统的安装维护 」· ASP 代码 · 共 25 行

ASP
25
字号
<!--#include file="conn.asp"-->
<%if session("BOBadmin")="" then
response.Write "<script language='javascript'>alert('网络超时或您还没有登陆!');window.location.href='login.asp';</script>"
response.End
else
if session("flag")>1 then
response.Write "<p align=center><font color=red>您没有此项目管理权限!</font></p>"
response.End
end if
end if

dim id
id=request("id")
if id<>"" then
if not isnumeric(id) then 
response.write"<script>alert(""非法访问!"");location.href=""../index.asp"";</script>"
response.end
end if
end if
	conn.execute("delete from youbian where id=" &id)
	conn.close
	set conn=nothing
	response.write "<script language=javascript>alert('成功删除邮编!');window.location.href='youbianmanage.asp';</script>"
	response.end
%>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?