⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 searcherdel.asp

📁 人才招聘系统,用asp做的
💻 ASP
字号:
	<!--#include file=../conn.asp-->
	<!--#include file=cookies.asp-->
	<link rel="stylesheet" type="text/css" href="IMG/jobcn.css">
	<%
	dim sql
	dim rs
	dim username,id
	username=request.cookies("ijob")("username")

if request("id")="" then
	response.write "<br>"+"<li>id号码为空,你试图进行不合法的操作!请注意你的行为!"
	response.end
else
	id=trim(request("id"))
end if
if Instr(request("id"),"=")>0 or Instr(request("id"),"%")>0 or Instr(request("id"),chr(32))>0 or Instr(request("id"),"?")>0 or Instr(request("id"),"&")>0 or Instr(request("id"),";")>0 or Instr(request("id"),",")>0 or Instr(request("id"),"'")>0 or Instr(request("id"),",")>0 or Instr(request("id"),chr(34))>0 or Instr(request("id"),chr(9))>0 or Instr(request("id"),"‘")>0 or Instr(request("id"),",")>0 or Instr(request("id"),"$")>0 then
	response.write "<br>"+"<li>ID号码中有非法字符。"
	response.end
else
	id=trim(request("id"))
end if

set rs=server.createobject("adodb.recordset")
sql="delete from [searcher1] where id='"&cstr(id)&"'"
rs.open sql,conn,1,3
conn.close
set conn=nothing
%>
    <p align="center"><font color="#FF0000">删除搜索器成功</font>!<b><a href="searcher.asp"><font color="#000080">返回前页</font></a></b></p>

⌨️ 快捷键说明

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