<!--#include file="conn.asp"-->
<!--#include file="config.asp"-->
<%
dim username
dim rs,sql
username=trim(request("username"))
if username="" then
response.Write "<script LANGUAGE='javascript'>alert('请先注册为本站会员，如果您已经是会员请登陆！');this.location.href='../reg.asp';</script>"
response.end
end if
set rs=server.createobject("adodb.recordset")
sql="select * from [FOX_user] where username='"&username&"'"
rs.open sql,conn,1,3
rs.addnew
rs("username")=username
rs("zhidaoyz")=0
rs("zhidaojf")=rs("zhidaojf")+ddjf
rs.update
rs.close
set rs=nothing
response.Write "<script LANGUAGE='javascript'>alert('您已经成为知道会员，欢迎您！');this.location.href='index.asp';</script>"
	Response.Write"<meta http-equiv='refresh' content='180;URL=index.asp'>"
%>