<?php
global $username ;
$username = $_POST['username'];
$pwd = $_POST['pwd'];
$repeat_pwd = $_POST['repeat_pwd'];
$phonenumber = $_POST['phonenumber'];
?>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>Registering from</title>
</head>
<body>
<?php
if (!empty($username) )
{//有内容才输出
echo "您填写的信息是:<br>\n";
echo "昵称: $username <br>\n";
echo "密码: $pwd <br>\n";
echo "确认密码: $repeat_pwd<br>\n";
echo "电话: $phonenumber:<br>\n";
}
?>
<form name="frmRegister" metod="post" action="register.html">
蜉蝣梦
qq_smartphp_0
卡迪亚兹
我也有梦想啊
天启之魂