Post Variable Continued and the $_REQUEST variable

The “welcome.php” file can now utilize the $_POST variable to catch the data contained within the form as with the request variable in the previous posts, the form fields will automatically be the ID keys in the $_POST array. This variable would be very useful for passwords and user name and other entry forms (having no limits on length) but being so discreet, it cannot be bookmarked.

Welcome .

You are years old!

The $_REQUEST Variable
The variable contains the contents of both $_GET, $_POST and $_COOKIE which can be used to get the result from the data sent with the GET and POST methods like the sample shown below.

Welcome .

You are years old!

Comments are closed.