8.18 ExercisesThis is NOT the latest copy of this book; click here for the latest version.
-
What will the following function call return: is_readable("http://www.slashdot.org")
-
Which function locks files:
-
a) lock()
-
b) lockf()
-
c) flock()
-
d) file_lock()
-
What is the primary difference between rename() and move_uploaded_file()?
-
In the .ini file format, what is considered to be the start of a comment?
-
a) //
-
b) #
-
c) ;
-
d) All of the above
-
Which superglobal array contains information on uploaded files?
-
a) $_GET
-
b) $_POST
-
c) $_REQUEST
-
d) None of the above
-
Under what circumstances can the file_exists() function report incorrect data?
|
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!
|