登录界面
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
</head>
<h1>管理员登录</h1>
<form action="loginprocess.php" method="post">
<table>
<tr><td>用户名</td><td><input type="text" name="username"/></td></tr>
<tr><td>密 码</td><td><input type="password" name="password"/></td></tr>
<tr><td><input type="submit" value="用户登录"/></td>
<td>
<input type="reset" value="重新填写">
</td></tr>
</table>
</form>
<?php 
 //接收errno
 if(!empty($_GET['errno'])){
 $errno=$_GET['errno'];
 if($errno==1){
    echo "<font color='red' size='3'>你的用户名或密码错误</font>";
 }
}
?>
</html>处理界面
浏览器错误信息
管理