时间:2021-07-01 10:21:17 帮助过:13人阅读
注册页面
request.php
代码如下:
$username = $_POST['username'];
$name = $_POST['name'];
$pwd = $_POST['pwd'];
$email = $_POST['email'];
//print_r($username);
if(!empty($username))
{
echo "您填写的信息为:
\n";
echo "用户名: $username
\n";
echo "姓名: $name
\n";
echo "密码: $pwd
\n";
echo "邮箱: $email
\n";
}
print_r($_POST)
//echo "aaaa";
?>
当然,你也可以把request跟regiser.php写到一起。