act
: the four buttons, except the Reset, which is the default for HTML,
email
: the Email input field, and
password
: the Password input field.
act=Submit&email=userid@cs.und.edu&password=CSci457In PHP, the predefined
$_POST
variable is used to collect input values such as
echo $_POST['act'];
// Print “Submit.” echo $_POST['email'];
// Print “userid@cs.und.edu.” echo $_POST['password']";
// Print “CSCI457.”
“Somebody actually complimented me on my driving today. They left a little note, it said ‘Parking Fine.’” — Tim Vine |