各位大虾、高手,帮帮小弟解决一个
"" then
if trim(request。Form("uid"))=""or trim(request。Form("pwd0"))="" or trim(request。Form("pwd0"))="" then
response。 write "输入不能为空! "
'response。end
elseif trim(request。Form("pwd0"))<>trim(request。Form("pwd1")) then
response。 write "登录密码必须与确认密码相同! "
'response。End
end if
set rs= eateobject(" c...全部
"" then
if trim(request。Form("uid"))=""or trim(request。Form("pwd0"))="" or trim(request。Form("pwd0"))="" then
response。
write "输入不能为空! "
'response。end
elseif trim(request。Form("pwd0"))<>trim(request。Form("pwd1")) then
response。
write "登录密码必须与确认密码相同! "
'response。End
end if
set rs= eateobject(" cordset")
sqlstr="select * from admin_user where username='" & rm("uid") & "' and password='" & rm("pwd0") & "'"
rs。
open sqlstr,conn,1,1
if cordcount >= 1 then
if rs("username")= rm("uid") then
Response。Redirect " p?msg=此员帐号已被暂用,请选输入其它名称!"
response。
end
ose
end if
else
set rs= eateobject(" cordset")
sqlstr="select * from admin_user"
rs。open sqlstr,conn,3,3
dnew
rs("username")= rm("uid")
rs("password")= rm("pwd1")
rs。
update
end if
else
%>
帐号
博佳网站管理帐号添加
登录帐号:
登录密码:
密码确认:
改成这样试试!。
收起