level 2
黑羽长风1
楼主
access表格中名称为admin,有username和pass两个字段,以下是修改密码的表单,求一个改密码的代码,代码名称为check.asp谢谢,链接数据库代码就不用了
gm.asp
<title>除尘器数据库管理</title>
<table align=center width="200" height=200 >
<tr><td align=center>
<form id="form2" name="form2" method="post" action="">
</form>
<table width="398" border="1">
<tr>
<td width="388" bgcolor="#00FF00"><div align="center">
<form id="form3" name="form3" method="post" action="">
<h1><em>除尘器产品数据管理系统</em></h1>
<p>用户密码修改</p>
</form>
</div></td>
</tr>
<tr>
<td height="162" bgcolor="#00FF00"><form name="form1" method="post" action="check.asp">
<label> 用 户 名:
<input name="username" type="text" id="username" />
</label>
<br />
<label>旧 密 码:
<input name="oldpassword" type="text" id="oldpassword" />
</label><br />
<label>
新 密 码:
<input name="newpassword" type="text" id="newpassword" />
</label>
<br />
<label>
密码确认:
<input name="newpassword2" type="text" id="newpassword2" />
</label>
<br />
</label>
<label> </label>
<label> </label>
<label>
<input type="submit" name="Submit" value="提交" />
<input type="hidden" name="action" value="new" />
</label>
</form></td>
</tr>
</table>
2014年03月30日 01点03分
1
gm.asp
<title>除尘器数据库管理</title>
<table align=center width="200" height=200 >
<tr><td align=center>
<form id="form2" name="form2" method="post" action="">
</form>
<table width="398" border="1">
<tr>
<td width="388" bgcolor="#00FF00"><div align="center">
<form id="form3" name="form3" method="post" action="">
<h1><em>除尘器产品数据管理系统</em></h1>
<p>用户密码修改</p>
</form>
</div></td>
</tr>
<tr>
<td height="162" bgcolor="#00FF00"><form name="form1" method="post" action="check.asp">
<label> 用 户 名:
<input name="username" type="text" id="username" />
</label>
<br />
<label>旧 密 码:
<input name="oldpassword" type="text" id="oldpassword" />
</label><br />
<label>
新 密 码:
<input name="newpassword" type="text" id="newpassword" />
</label>
<br />
<label>
密码确认:
<input name="newpassword2" type="text" id="newpassword2" />
</label>
<br />
</label>
<label> </label>
<label> </label>
<label>
<input type="submit" name="Submit" value="提交" />
<input type="hidden" name="action" value="new" />
</label>
</form></td>
</tr>
</table>