wantuserout.asp
来自「视频点播系统」· ASP 代码 · 共 22 行
ASP
22 行
<!--#include file="articleconn.asp"-->
<!--#include file="../checkpost.asp"-->
<!--#include file="security.asp"-->
<%
userid=Replace(request("userid"), "'", "''")
if request("want")="out" then
conn.Execute("Delete * From online") '删除所有的在线用户
response.redirect Request.ServerVariables("HTTP_REFERER")
else
conn.Execute("Delete From online where username='"&userid&"'") '删除指定的在线用户
response.redirect Request.ServerVariables("HTTP_REFERER")
end if
%>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?