?? searchname.asp
字號:
<!--#include file="conn.asp"-->
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="../css/style.css" type=text/css rel=stylesheet>
<title>用戶名查詢</title>
</head>
<%
if request("searchuser")<>"" then
set rs=server.createobject("adodb.recordset")
sql="select userid from users where userid='"&request("userid")&"'"
rs.open sql,conn,1,2
if rs.eof then
response.write "<script>alert('這一“用戶名稱”還未被注冊你可以使用!');window.close();</Script>"
response.end
else
response.write "<script>alert('這一“用戶名稱”已被占用,請得新輸入!');window.close();</Script>"
response.end
end if
rs.close
set rs=nothing
conn.close
set conn=nothing
end if
%>
<body scroll="no" >
</body>
</html>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -