<?php//This program is used to receive form data from an HTML page and output each field echo "user input as shown below:<br>"; echo "Name:". $_get[' username '). " <BR> "; echo "Password:". $_get[' password '). " <BR> "; echo "Password confirmation:". $_get[' Password2 '). " <BR> "; echo "Gender:". $_get[' sex ']. " <BR> "; echo "Birthday:". $_get[' birthday '). " <BR> "; echo "e-mail:". $_get[' email '). " <BR> "; echo "Occupation:". $_get[' job ']. " <BR> ";?>
<?php//This program is used to receive form data from an HTML page and output each field echo "user input as shown below:<br>"; echo "Name:". $_post[' username '). " <BR> "; echo "Password:". $_post[' password '). " <BR> "; echo "Password confirmation:". $_post[' Password2 '). " <BR> "; echo "Gender:". $_post[' sex ']. " <BR> "; echo "Birthday:". $_post[' birthday '). " <BR> "; echo "e-mail:". $_post[' email '). " <BR> "; echo "Occupation:". $_post[' job ']. " <BR> ";?>