Workshop

Quiz

1: Which $_SERVER array element could you use to determine the IP address of a user?
2: Which predefined variable could you use to find out about the browser that called your script?
3: What should you name your form fields if you want to find an array in the element $_REQUEST['form_array']?
4: Which superglobal associative array contains all values submitted as part of a GET request?
5: Which superglobal associative array contains all values submitted as part of a POST request?
6: What function would you use to redirect the browser to a new page? What string would you pass it?
7: How can you limit the size of a file that a user can submit via a particular upload form?
8: How can you set a limit on the size of upload files for ...

Get Sams Teach Yourself PHP in 24 Hours, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.