The document discusses several ways to work with forms in PHP including:
1. Using superglobal variables like $_SERVER and $_POST to access form input data. $_SERVER contains server context data while $_POST contains submitted form fields.
2. Combining HTML and PHP code on a single page by opening and closing the PHP tags.
3. Saving state with hidden form fields and redirecting users with the header() function.
4. Uploading files with forms and limiting the maximum size.
2. Superglobal Variables
• A global variable is any variable declared at the "top level" of a
script—that is, declared outside a function.
• Superglobal variables are arrays built in to PHP.
3. The $_SERVER Array
• The $_SERVER array contains elements set by your script's context, usually the
server.