- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
reg_check.asp
资源名称:shop2.rar [点击查看]
上传用户:btntkt
上传日期:2021-04-16
资源大小:5296k
文件大小:1k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
DOS
- <!--#include file="conn.asp"-->
- <style type="text/css">
- <!--
- .unnamed1 {
- font-size: 12px;
- }
- -->
- </style>
- <%
- user_id=replace(request("username"),"'","’")
- if user_id <> "" then
- '开始检测是否已有此用户
- set rs = Server.CreateObject("ADODB.Recordset")
- sql = "SELECT * FROM yx_user where name= '" & user_id & "'"
- rs.open sql,conn,1,1
- %>
- <%
- if not (rs.Bof or rs.eof) then
- message="<font color=red><b><div align=center>对不起!</b><br>该登陆帐号已经有人使用<br><br>请选择别的登陆帐号!</div></font>"
- else
- message="<font color=red><b><div align=center>恭喜您!</b><br><br>该登陆帐号目前暂无人使用</div></font>"
- end if
- rs.Close
- set rs=nothing
- else
- message="<font color=red><b><div align=center>对不起!</b><br><br>请您填写账号</div></font>"
- end if
- %>
- <HTML>
- <HEAD>
- <TITLE>注册-检测用户ID</TITLE>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <meta name="Robots" content="index,follow">
- <link rel="stylesheet" href="shop" type="text/css">
- </HEAD>
- <BODY class="unnamed1">
- <%
- response.write message
- %>
- </BODY>
- </HTML>