📄 regesit.php
字号:
<?php
ob_start();
session_start();
//session_register("info");
//session_register("username");
//session_register("infom");
//$_session[info]="请输入注册用户名!"
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>新用户注册</title>
<style type="text/css">
a {text-decoration:none}
a:hover {color: red;text-decoration:none}
<!--
.STYLE1 {
font-family: "新宋体";
font-size: 16mm;
color:#FF9966;;
}
.STYLE3 {
color: #FFCC99;
font-weight: bold;
}
.STYLE4 {color: #FF9933}
.STYLE5 {color: #FF6600}
-->
</style>
</head>
<body>
<div align="center"><img src="image/houtaihead.gif" longdesc="image/houtaihead.gif" /></div>
<h1 align="center">
<span class="STYLE1">
添加用户</span></span></h1>
<div align="center">
<form action="reg.php" method="post" name="form1">
<div align="center">
<table width="700" bordercolor="#cccccc" border="1" style="border-collapse:collapse" cellpadding="0" cellspacing="0">
<tr>
<td width="178" height="80" align="right">用户名:</td>
<td width="226" height="80" align="center"><input name="text1" type="text" size="20" maxlength="20" value="<?php echo $_SESSION["username"]; ?>">
<br>
<font size="-1" color="red">
<?php
echo $_SESSION["info"];
$_SESSION["info"]="";
$_SESSION["username"]="";
?>
</font>
<br>
<input name="test" type="submit" onClick="action='namereg.php'" value="用户名 是否被占用"> </td>
<td width="288" height="80" align="left" bgcolor="#FFFFFF"><font size="-1"> 登录名:4-16个字符(包括4、16)或2-8个汉字, 请用英文小写、汉字、数字、下划线,不能全部是数字,下划线不能在末尾。</font></td>
</tr>
<tr>
<td height="40" align="right">密码:</td>
<td width="226" height="40" align="center"><input name="text2" type="password" size="20" maxlength="20" /></td>
<td rowspan="2"> <font size="-1">密码为6—16位(包括6、16),限用英文、数字、半角“.”、“+”、“-”、“?”和下划线,区分大小写。</font></td>
</tr>
<tr>
<td height="40" align="right">确认密码:</td>
<td width="226" height="40" align="center"><input name="text3" type="password" size="20" maxlength="20" /></td>
</tr>
<tr>
<td height="40" align="right">E-mail:</td>
<td width="226" height="40" align="center"><input name="text4" type="text" size="20" maxlength="20" /></td> <td height="40"><font size="-1"><font size="-1">请填写正确的E-mail地址。</td>
</tr>
<tr>
<td height="40" align="right">密码提示问题:</td>
<td width="226" height="40" align="center"><input name="text5" type="text" size="20" maxlength="20" /></td> <td rowspan="2" align="left"> <font size="-1">查询问题:4-32个字母(支持大小写)、数字、空格(空格不能在首尾)或2-16个汉字(包括16个)</font><br> <font size="-1">查询答案:6个字母、数字、空格(空格不能在首尾)或3个汉字以上(包括6个)。</font>
</td>
</tr>
<tr>
<td height="40" align="right">密码提示答案:</td>
<td width="226" height="40" align="center"><input name="text6" type="text" size="20" maxlength="20" /></td>
</tr>
</table>
</div>
<br>
<font size="-1" color="red">
<?php
echo $_SESSION['infom'];
$_SESSION['infom']="";
?>
</font>
<br>
<br>
<div align="center">
<input name="button12" type="submit" value="提交" />
<input name="button1" type="reset" value="重置">
</div>
</form>
<table align="center">
<tr><td bgcolor="#FFCC99"><div align="center"><font color="blue" size="-1"><a href="useradmin.php">返 回</a></font></div></td></tr></table>
<span class="STYLE4">
<?php include "./end.php"; ?>
</span>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -