shiKill.asp
上传用户:btntkt
上传日期:2021-04-16
资源大小:5296k
文件大小:1k
源码类别:

WEB源码(ASP,PHP,...)

开发平台:

DOS

  1. <!--#include file="conn.asp"-->
  2. <%if session("admin")="" then
  3. response.Write "<script language='javascript'>alert('网络超时或您还没有登陆!');window.location.href='login.asp';</script>"
  4. response.End
  5. end if
  6. dim shiid,id
  7. shiid=request("shiid")
  8. if shiid<>"" then
  9. if not isnumeric(shiid) then 
  10. response.write"<script>alert(""非法访问!"");location.href=""../index.asp"";</script>"
  11. response.end
  12. end if
  13. end if
  14. id=request("id")
  15. conn.execute("delete from city where id=" &shiid)
  16. conn.close
  17. set conn=nothing
  18. response.write "<script language=javascript>alert('您选择的市已经被删除!');window.location.href='shimanage.asp';</script>"
  19. response.end
  20. %>