<!--#include file="inc/config.asp" -->
<!--#include file="inc/conn.asp" -->
<!--#include file="inc/sql_filter.asp" -->
<%
response.charset="GBK"
dim uid
if(request.QueryString("uid")<>"") then
	uid=replaceBadChar(request.QueryString("uid"))
end if

'是否登录
if(uid<>"" and len(uid)>1) then	
	set rs=server.createobject("adodb.recordset")
	rs.open "select id from t_member where UserId='"&uid&"'",conn,3,1
	if not rs.eof then
		response.Write("该用户名已经有人注册了，请试其它的!")
	else
		response.write("恭喜您，此用户名可以使用!")
	end if
	rs.close
	set rs=nothing
end if
call connclose()
%>