复制代码 代码如下:
复制代码 代码如下:
//本程序用于接收来自HTML页面的表单数据,并输出每个字段
echo "用户的输入如下所示:
";
echo "姓名:".$_GET['username']."
";
echo "密码:".$_GET['password']."
";
echo "密码确认:".$_GET['password2']."
";
echo "性别:".$_GET['sex']."
";
echo "生日:".$_GET['birthday']."
";
echo "E-mail:".$_GET['email']."
";
echo "职业:".$_GET['job']."
";
?>
复制代码 代码如下:
//本程序用于接收来自HTML页面的表单数据,并输出每个字段
echo "用户的输入如下所示:
";
echo "姓名:".$_POST['username']."
";
echo "密码:".$_POST['password']."
";
echo "密码确认:".$_POST['password2']."
";
echo "性别:".$_POST['sex']."
";
echo "生日:".$_POST['birthday']."
";
echo "E-mail:".$_POST['email']."
";
echo "职业:".$_POST['job']."
";
?>
http://www.bkjia.com/PHPjc/319914.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/319914.htmlTechArticle复制代码 代码如下: html head titleForm/title meta http-equiv="Content-Type" content="text/html; charset=gb2312" /head body form action="post.php" method="get" name="form1"...
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn