admin_del.asp
上传用户:shxinnian
上传日期:2013-01-14
资源大小:155k
文件大小:1k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
Windows_Unix
- <%@ LANGUAGE="VBSCRIPT" %>
- <% option explicit %>
- <%
- if request.cookies("adminok")="" then
- response.redirect "login.asp"
- end if
- %>
- <!--#include file="conn.asp"-->
- <%
- dim sql
- dim rs
- set rs=server.createobject("adodb.recordset")
- sql="delete from member where id="&request("ID")
- rs.open sql,conn,1,1
- set rs=nothing
- conn.close
- set conn=nothing
- response.redirect "admin_edit.asp?page="&request("page")
- %>
- <html>
- <head>
- <title></title>
- </head>
- <body>
- </body>
- </html>