checkusername.asp

来自「自由领域ASP+WAP同学录(V1.0)系统是一套仿ChinaRen的即可用电脑」· ASP 代码 · 共 41 行

ASP
41
字号
<!--#include file=../INC/txlconst.asp-->
<!--#include file=../INC/txlfun.asp-->
<!--#include file=INC/txl_userfun.asp-->
<!--
<pre>
┌─ 自由领域ASP+WAP同学录系统 ─────────────────┐
│                                                               │
│  感谢你使用 自由领域ASP+WAP同学录系统(测试版)                │
│  使用本免费源码您必须遵守以下规定                             │
│    不得公开发表代码 不得用做商业用途,不得向其他使用者收费。  │
│                                                               │
│  使用时,请保留此段信息,谢谢配合                             │
│                                                               │
│                                       2004/12/19              │
│                                                               │
└────────────────  http://99167.jahee.com ───┘
</per>
-->

<%
'on error resume next
dim const_txl_HomeUrl,errstr,usernameflag,GBL_CHK_TempStr,username
errstr=""
username=Request.QueryString("username")
const_txl_HomeUrl="../"
OpenDatabase
usernameflag=checkfrmusername(username)
if not  usernameflag  then
	printmsg GBL_CHK_TempStr
else
	if checkusername(username) then
		GBL_CHK_TempStr="<font color=green>恭喜您,该用户名可以注册!</font>"
		printmsg GBL_CHK_TempStr
	else
		GBL_CHK_TempStr="<font color=red>对不起,该用户名已经被别人注册了!</font>"
		printmsg GBL_CHK_TempStr
	end if
end if
CloseDatabase
%>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?