我的注册程序在我这里可以注册,别的网为什么注册不上。
我的注册代码1提交代码
<body>
<script language="javascript">
function yanzheng() {
if(document.form1.hymc.value==""){
window.alert("请输入会员名称!");
return false
}
if(document.form1.hymc.value.length<=2){
window.alert("会员名称长度必须大于2!");
return false
}
if(document.form1.hypw.value==""){
window.alert("请输入密码!");
return false
}
if(document.form1.hypw.value.length<6){
window.alert("密码长度请大于或等于6!");
return false
}
if(document.form1.hypw2.value==""){
window.alert("密码确认不能为空!");
return false
}
if(document.form1.hypw.value!=document.form1.hypww.value){
window.alert("两次输入的密码必须相同!");
return false
}
if(document.form1.name.value==""){
window.alert("请输入真实姓名!");
return false
}
if(document.form1.name.value.length<2){
window.alert("真实姓名长度必须大于1!");
return false
}
if(document.form1.yb.value==""){
window.alert("请输入邮编!");
return false
}
if(document.form1.dh.value==""){
window.alert("请输入电话!");
return false
}
if(document.form1.email.value==""){
window.alert("请输入电子邮箱!");
return false
}
if(document.form1.tswt.value==""){
window.alert("请输入提示问题!");
return false
}
if(document.form1.wtda.value==""){
window.alert("请输入问题答案!");
return false
}
}
</script>
<table align="center" width="800" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="120" style="border-bottom:3PX SOLID #8CCE74;PADDING-BOTTOM:3PX; "><img src="images/logo.jpg" width="114" height="90"></td>
<td width="572" style="BORDER-BOTTOM:3PX SOLID #8CCE74;PADDING-BOTTOM:3PX; "><div align="center"><img src="images/yongkang_05.jpg" width="507" height="31" border="0" usemap="#Map">
<map name="Map">
<area shape="rect" coords="17,5,59,24" href="index.asp">
<area shape="rect" coords="67,5,130,24" href="gsjj.asp">
<area shape="rect" coords="143,5,199,22" href="cpzx.asp">
<area shape="rect" coords="217,3,268,23" href="xinwen.asp">
<area shape="rect" coords="421,4,476,24" href="lxwm.asp">
<area shape="rect" coords="284,3,344,24" href="hyzx.asp">
<area shape="rect" coords="359,5,406,26" href="liuyan.asp">
</map>
</div></td>
<td width="59" valign="top" class="ziti" style="BORDER-BOTTOM:3PX SOLID #8CCE74;PADDING-BOTTOM:3PX;PADDING-TOP:5PX; "><SPAN onClick="window.external.addFavorite('http://','永康格林')"
style="CURSOR: hand" title=永康格林>加入收藏</SPAN></td>
<td width="49" valign="top" class="ziti" style="BORDER-BOTTOM:3PX SOLID #8CCE74;PADDING-BOTTOM:3PX;PADDING-TOP:5PX; "><SPAN onclick="var strHref=window.location.href;this.style.behavior='url(#default#homepage)';this.setHomePage('http://');"
style="CURSOR: hand">设为首页</SPAN></td>
</tr>
</table>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0" class="ziti">
<!--DWLayoutTable-->
<tr>
<td height="25" colspan="3" align="center" valign="middle"><span class="STYLE2"> 会 员 注 册</span></td>
</tr>
<tr>
<td height="25" align="left" valign="middle"><!--DWLayoutEmptyCell--> </td>
<td colspan="2" align="left" valign="middle">注册会员赠送50积分,购买产品一次加5分,积分满100可成为VIP会员,VIP会员可打7折。</td>
</tr>
<tr>
<td width="15" height="25" align="left" valign="middle"><!--DWLayoutEmptyCell--> </td>
<td colspan="2" align="left" valign="middle"><img src="images/tb.jpg" width="7" height="8"> <span class="STYLE3">填写会员资料</span></td>
</tr>
<form action="zcsave.asp" method="post" name="form1">
<tr>
<td height="25" align="left" valign="middle"><!--DWLayoutEmptyCell--> </td>
<td height="25" align="left" valign="middle">会员登录名称:</td>
<td height="25" align="left" valign="middle"><label>
<input name="hymc" type="text" id="hymc">
<span class="STYLE4"> * <span class="STYLE7">用户名必须2位以上</span></span></label></td>
</tr>
<tr>
<td height="25" align="left" valign="middle"><!--DWLayoutEmptyCell--> </td>
<td height="25" align="left" valign="middle">会员登录密码:</td>
<td height="25" align="left" valign="middle"><input name="hypw" type="password" id="hypw">
<span class="STYLE4"> * <span class="STYLE7">请输入6位密码(英文、字母、数子) </span></span></td>
</tr>
<tr>
<td height="25" align="left" valign="middle"><!--DWLayoutEmptyCell--> </td>
<td height="25" align="left" valign="middle">会员密码确认:</td>
<td height="25" align="left" valign="middle"><input name="hypww" type="password" id="hypww">
<span class="STYLE4"> * </span></td>
</tr>
<tr>
<td height="25" align="left" valign="middle"><!--DWLayoutEmptyCell--> </td>
<td height="25" colspan="2" align="left" valign="middle"><img src="images/tb.jpg" width="7" height="8"> <span class="STYLE3">姓名、联系地址及联系方式</span></td>
</tr>
<tr>
<td height="25" align="left" valign="middle"><!--DWLayoutEmptyCell--> </td>
<td width="93" height="25" align="left" valign="middle">真实姓名:</td>
<td width="692" align="left" valign="middle"><input name="name" type="text" id="name" size="13">
<span class="STYLE4"> *</span></td>
</tr>
<tr>
<td height="25" align="left" valign="middle"><!--DWLayoutEmptyCell--> </td>
<td height="25" align="left" valign="middle">详细联系地址:</td>
<td height="25" align="left" valign="middle"><input name="xxdz" type="text" id="xxdz">
<span class="STYLE4"> *</span></td>
</tr>
<tr>
<td height="25" align="left" valign="middle"><!--DWLayoutEmptyCell--> </td>
<td height="25" align="left" valign="middle">邮编:</td>
<td height="25" align="left" valign="middle"><input name="yb" type="text" id="yb" size="13">
<span class="STYLE4"> *</span></td>
</tr>
<tr>
<td height="25" align="left" valign="middle"><!--DWLayoutEmptyCell--> </td>
<td height="25" align="left" valign="middle">固定电话:</td>
<td height="25" align="left" valign="middle"><input name="dh" type="text" id="dh" size="13">
<span class="STYLE4"> *</span></td>
</tr>
<tr>
<td height="25" align="left" valign="middle"><!--DWLayoutEmptyCell--> </td>
<td height="25" align="left" valign="middle">手机:</td>
<td height="25" align="left" valign="middle"><input name="sj" type="text" id="sj" size="13"></td>
</tr>
<tr>
<td height="25" align="left" valign="middle"><!--DWLayoutEmptyCell--> </td>
<td height="25" align="left" valign="middle">电子邮箱:</td>
<td height="25" align="left" valign="middle"><input name="email" type="text" id="email">
<span class="STYLE4"> *</span></td>
</tr>
<tr>
<td height="25" align="left" valign="middle"><!--DWLayoutEmptyCell--> </td>
<td height="25" align="left" valign="middle">问题提示:</td>
<td height="25" align="left" valign="middle"><input name="tswt" type="text" id="tswt">
<span class="STYLE4">*</span></td>
</tr>
<tr>
<td height="25" align="left" valign="middle"><!--DWLayoutEmptyCell--> </td>
<td height="25" align="left" valign="middle">问题答案:</td>
<td height="25" align="left" valign="middle"><input name="wtda" type="text" id="wtda">
<span class="STYLE4">*</span></td>
</tr>
<tr>
<td height="25" align="left" valign="middle"><!--DWLayoutEmptyCell--> </td>
<td height="25" colspan="2" align="left" valign="middle"><label>注:带
<span class="STYLE4"> *</span> 为必须填项</label></td>
</tr>
<tr>
<td height="25" colspan="3" align="center" valign="middle"><input type="submit" name="Submit" value="提交注册信息" onClick="return yanzheng()"></td>
</tr>
</form>
<tr>
<td height="28" colspan="3" align="left" valign="middle"><!--DWLayoutEmptyCell--> </td>
</tr>
<tr>
<td height="12" colspan="3" valign="top" bgcolor="#8CCE74"><!--DWLayoutEmptyCell--> </td>
</tr>
<tr>
<td height="2" colspan="3"></td>
</tr>
<tr>
<td height="162" colspan="3"><table width="750" border="0" cellspacing="3" cellpadding="3">
<tr>
<td> </td>
<td><img src="images/meggle01.jpg" width="82" height="46"></td>
<td><img src="images/zhongwei01.jpg" width="150" height="46"></td>
<td><img src="images/yaojianju.jpg" width="130" height="40"></td>
<td><img src="images/degussa.gif" width="150" height="43"></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td><img src="images/basf.gif" width="150" height="36"></td>
<td><img src="images/yaopinwang.jpg" width="128" height="30"></td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td height="56"> </td>
<td colspan="4"><p align="center" class="ziti">北京永康格林科技有限公司 © 版权所有 2007-2008 All Right Reserved </p>
<p align="center" class="style1">京ICP备05081998号</p></td>
<td> </td>
</tr>
</table> </td>
</tr>
</table>
</body>
2 保存提交代码
<!-- #include file="conn.asp"-->
<%
set rs=server.CreateObject("adodb.recordset")
exec="select * from hy"
rs.open exec,conn,1,3
rs.addnew
rs("hymc")=request.Form("hymc")
rs("hypw")=request.Form("hypw")
rs("hypww")=request.Form("hypww")
rs("name")=request.Form("name")
rs("xxdz")=request.Form("xxdz")
rs("yb")=request.Form("yb")
rs("dh")=request.Form("dh")
rs("sj")=request.Form("sj")
rs("email")=request.Form("email")
rs("tswt")=request.Form("tswt")
rs("wtda")=request.Form("wtda")
rs.update
rs.close
set rs=nothing
%>
<script language="javascript">alert('注册成功!');location.href='hyzx.asp'</script>
帮我看看啊 地址是[url]www.[/url] 需要代码文件告诉我QQ312665314