The workshop is designed to help you anticipate possible questions, review what you've learned, and begin putting your knowledge into practice.
Which predefined variable do you use to find the name of the script?
Which built-in associative array contains all values submitted as part of a POST request?
Which built-in associative array contains all values submitted as part of a file upload?
What function do you use to redirect the browser to a new page?
What are the four arguments used by the mail() function?
On the client side, how do you limit the size of a file that a user can submit via a particular upload form?
The variable $_SERVER[ "PHP_SELF" ] holds the name of the script.
The $_POST superglobal.
The $_FILES superglobal.
The header() function, along with a location.
The recipient, the subject, the message string, and additional headers.
Use a hidden field called MAX_FILE_SIZE in your form.
Create a calculator script that enables the user to submit two numbers and choose an operation (addition, multiplication, division, or subtraction) to perform on them.
Use hidden fields with the script you created in activity 1 to store and display the number of requests that the user submitted.