-
慕田峪4524236
同一文件:<?php$username=$_GET['username'];$pwd=$_GET['password'];echo "用户名:".$username;echo "密码:".$pwd;?><html><head><title></title></head><body><form action="#">用户名: <input type="text" name="username" value="">密码:<input type="password" name="password" value=""><input type="submit" value="提交"></form></body></html>两个文件:aa.php<?php$username=$_GET['username'];$pwd=$_GET['password'];echo "用户名:".$username;echo "密码:".$pwd;?>bb.html<html><head><title></title></head><body><form action="aa.php" method="get">用户名: <input type="text" name="username" value="">密码:<input type="password" name="password" value=""><input type="submit" value="提交"></form></body></html>
-
明月笑刀无情
<?phpecho "用户的输入如下所示:<BR>";echo "姓名:".$_GET['username']."<BR>";echo "密码:".$_GET['password']."<BR>";echo "密码确认:".$_GET['password2']."<BR>";echo "性别:".$_GET['sex']."<BR>";echo "生日:".$_GET['birthday']."<BR>";echo "E-mail:".$_GET['email']."<BR>";echo "职业:".$_GET['job']."<BR>";
-
HUX布斯
kk.php<form id="form1" name="form1" method="post" action="check.php"><table width="200" border="1" align="center"><tr><td>用户名</td><td><label><input name="name" type="text" size="16" maxlength="7" /></label></td></tr><tr><td>密 码</td><td><input name="passwd" type="password" size="16" maxlength="7" /></td></tr><tr><td colspan="2"><label><input type="submit" name="Submit" value="提交" /></label></td></tr></table></form>check.php<?php$name=$_POST["name"];echo $name;