首页 > 开发 > PHP > 正文

用户的详细注册和判断

2024-05-04 22:15:48
字体:
来源:转载
供稿:网友
有三个文件:
第一是:zcyh.php(注册用户名)<?include("header1.inc.php")?>
<div align=center>
<table width="89%" border="0">
    <tr>  
      <td><font color="#ff0000">当前位置:<a href="index.php">主页</a>>>注册页面</font></td>
    </tr>
  </table><br>

  <table width="82%" border="0" height="27">
    <tr>  
      <td height="14"><b><font color="#660099"><img src="images/dyb.gif" width="68" height="22">  
        请设定用户名:(<font color="#FF0000">3-15位</font>)</font></b></td>
    </tr>
  </table>
  <form name="form1" method="post" action="register.php">
    <table width="80%" border="0" height="154">
      <tr>  
        <td width="42%">  
          <div align="right"><font color="#0000FF">用户名:</font>
        </td>
        <td width="58%">  
          <input type="text" name="name" maxlength="20">
        </td></div>
      </tr>
      <tr>  
        <td colspan="2" height="27">  
          <div align="left"><font size="2"><font color="#FF0000">注意:</font><font color="#0000FF">用户名只能由英文字母(a-z),数字(0-9)和下划线('_'、'-'、'.'  
            )构成,不能有空格,且必须以英文字母为开头。 </font></font> </div>
        </td>
      </tr>
      <tr>  
        <td colspan="2" height="14">  
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表