This form demonstrates the use of GET, POST, and SESSION with some simple form elements.

This is a form that uses POST

Username:

Password:

These are the contents of the built-in variable $_POST:


This is a form using GET

These are the contents of the built-in variable $_GET:


This section displays the contents of the built-in variable $_SESSION, which contains the all the information for the current cookie.