找回密码
 注册
搜索
热搜: 回贴
  • 前程无忧官网首页 有什么好的平台可以
  • 最新的销售平台 互联网营销的平台有哪
  • 制作网页的基本流程 网页制作和网页设
  • 【帝国CMS】输出带序号的列表(数字排
  • 网站建设公司 三一,中联,极东泵车的
  • 织梦 建站 织梦网站模版后台怎么更改
  • 云服务官网 哪些网站有免费的简历模板
  • 如何建网站要什么条件 建网站要用什么
  • 吉林市移动公司电话 吉林省退休人员网
  • 设计类毕业论文 网站设计与实现毕业论
查看: 61|回复: 1

急急急急

[复制链接]
发表于 2010-1-17 07:56:23 | 显示全部楼层 |阅读模式 IP:江苏扬州
<html><head><title>会员注册</title>
<meta http-equiv="Content-Type" content="text/html;
charset=gb2312">
</head>
<body>
<center>
<table width="800"><tr>
<td width="30%"></td>
<td width="70%">
<form method="post" action="hr.asp">
<table width="100%">
<tr><td width="30%"><font size="2" color="#000000">用户名:**</font><br><input type="text" name="u_name" size="15">
<td width="70%"><font size="2" color="#ff8000">格式:123456,只支持数字格式,如果注册成文本格式,会造成无法正常登陆,请正确填写</font></td>
</tr>
<tr><td width="30%"><font size="2" color="#000000">密 码:**</font><br><input type="password" name="u_password" size="15">
<td width="70%"><font size="2" color="#ff8000">请牢记所输出入的密码</font></td>
</tr>
<tr><td width="30%"><font size="2" color="#000000">密 码:**</font><br><input type="password" name="u_password1" size="15">
<td width="70%"><font size="2" color="#ff8000">请再次输入密码,验证密码不会填错</font></td>
</tr>
<tr><td width="30%"><font size="2" color="#000000">姓 名:**</font><br><input type="text" name="u_xm" size="15">
<td width="70%"><font size="2" color="#ff8000">请输入你的姓名</font></td>
</tr>
<tr><td width="30%"><font size="2" color="#000000">联系QQ:**</font><br><input type="text" name="u_qq" size="15">
<td width="70%"><font size="2" color="#ff8000">请输入你的联系方式一,QQ号码</font></td>
</tr>
<tr><td width="30%"><font size="2" color="#000000">联系EL:**</font><br><input type="text" name="u_eml" size="15">
<td width="70%"><font size="2" color="#ff8000">请输入你的联系方式二,邮箱,QQ与EML至少正确填写一项</font></td>
</tr>
<tr><td width="30%"><font size="2" color="#000000">介绍人:**</font><br><input type="text" name="u_id" size="15">
<td width="70%"><font size="2" color="#ff8000">你是如何得知本站的,本站会员请填写会员的ID,没有写《互联网》三字</font></td>
</tr>
<tr><td width="30%"><input type="submit" name="submit" value="注册">
<td width="70%"><font size="2" color="#ff8000"><a href="index.html">返回首页</a></font></td>
</tr>
</table>
</form>
</tr></table></center>
</body></html>




==========================================================================
这是这个注册程序,这是处理的,有什么问题呀

<%
dim uname,upassword,upassword1,uxm,uqq,ueml,uid
uname = request("u_name")
upassword = request("u_password")
upassword1 = request("u_password1")
uxm = request("u_xm")
uqq = request("u_qq")
ueml = request("u_eml")
uid = request("u_id")
If uname = "" Or upassword = "" Or upasword1 = "" Or uxm = "" Or uqq = ""Or ueml = "" Or uid = "" Then
Response.Redirect " error.htm"
Respose.End
Rnd If
if upassword <> upassword1 then
response.redirect "error.htm"
respose.end
end if
dim conn
conn = "provider=microsoft.jet.oledb.4.0;"&"data source = "& server.mappath("ltfl.mdb")
set bb = server.createobject("adodb.connection")
bb.open conn
set rs = server.createobject("adodb.rdcordset")
rs.open "ltfl",bb,1,3
rs.addnew
rs("name") = uname
rs("password") = upassword
rs("xm") = uxm
rs("qq") = uqq
rs("eml") = ueml
rs("id") = uid
rs.updata
rs.close
bb.close
set rs = nothing
set rs = nothing
response.write "<center><font size="2" color="red">祝贺注册成功,<a href="index.html">返回首页登陆</a></font></center>"
%>
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|小黑屋|最新主题|手机版|微赢网络技术论坛 ( 苏ICP备08020429号 )

GMT+8, 2024-9-30 17:38 , Processed in 0.448553 second(s), 13 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表