<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>PHP登录界面</title>
<link rel="stylesheet" href="css.css">
</head>
<body>
<form action="index1.php" method="post">
用户名:<input type="text" name="user" placeholder="请输入admin或者guest"><br>
密码 :<input type="password" name="password" placeholder="密码长度要大于六位小于十六位"><br>
<label> </label><input type="submit" value="提交">
</form>
</body>
</html>
<?php
header("Content-type: text/html; charset=utf-8");
echo $_POST;
echo "<br>";
echo $_POST;