7.10 ExercisesThis is NOT the latest copy of this book; click here for the latest version.
-
What is the reason that register_globals is disabled by default in PHP?
-
Which of the following superglobals are not contained inside of $_REQUEST:
-
a) $_GET
-
b) $_COOKIES
-
c) $_FILES
-
d) $_POST
-
Give one advantage of using POST to send form data, and one advantage of using GET.
-
Why is the is_numeric() function a better choice for form validation than the is_int() function?
-
Which PHP function will automatically strip any HTML tags out of a variable?
-
Why might the CTYPE functions be the preferred method for data validation?
-
Client-side validation should be avoided at all times: true or false?
|
Want to see this stuff in print? PHP in a Nutshell takes the core topics covered here, adds in thousands of edits from the editorial team and myself, and combines them to make an unbeatable reference for PHP programmers at all levels.
My latest book has hundreds more tips on how to use PHP, Apache, and MySQL, plus Perl, Python, shell scripts, performance tuning, and more!
|