小弟第一次做权限问题,经过很多人的帮助终于作了一个 呵呵
特发布在这里 希望各位大虾门指教
1:建数据库
name 用户名
pwd 密码
oskey 权限
2:对数据库操作 添加用户
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" height="1">
<tr>
<td bgcolor="#FFFFFF" width="163" height="143" valign="top">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr bgcolor="#000000">
<td><img src=http://www.163design.net/a/a/"images/dot.gif" width="1" height="1"></td>
</tr>
</table>
<table width="151" border="0" cellpadding="0" cellspacing="0">
<tr bgcolor="#DFDFDF">
<td width="131" height="2" bgcolor="#FFFFFF" class="unnamed2">
<div align="center" class="unnamed1"> 增 加 用 户</div>
</td>
<td width="20" height="2" align="right" valign="bottom" bgcolor="#FFFFFF"> </td>
</tr>
</table>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td> <FORM METHOD=POST ACTION="UserADD.asp">
<div align="center">
<table width="98%" border="0" cellpadding="0" cellspacing="5">
<tr>
<td>
<div align="center"><font color="#FFFFFF">用 户 名: <br>
<input type=text name=UserName2 size="15" class="smallInput">
</font></div>
</td>
</tr>
<tr>
<td>
<div align="center"><font color="#FFFFFF">用 户 权 限: <br>
<select name="select">
<option value="super">系统管理员</option>
<option value="check">录入、审核</option>
<option value="input">录入</option>
</select>
</font></div>
</td>
</tr>
<tr>
<td>
<div align="center"><font color="#FFFFFF">密 码: <br>
<input type=text name=Passwd2 size="15" class="smallInput">
</font></div>
</td>
</tr>
<tr>
<td>
<div align="center">
<input type=submit value=增加 name="submit" class="smallInput">
<input type="submit" name="Submit" value="取消" class="smallInput">
</div>
</td>
</tr>
</table>
</div>
</FORM></td>
</tr>
</table>
</td>
<td bgcolor="#FFFFFF" width="10" height="143"><img src=http://www.163design.net/a/a/"images/dot1.gif" width="1" height="1"></td>
<td width="606" height="143" colspan="2" align="right" valign="top">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0&q