Q.1
PHP sessions are created using the . . . . . function.
Q.2
When you want to store user data in a session use the . . . . array.
Q.3
Sessions allow you to.
Q.4
To process the file, you need to break the array from $_FILES into individual values. You can do this using the ________ function.
Q.5
Before you try to process the file, you need to make sure that your $err value is equivalent to _________
Q.6
You use the $_SERVER superglobal and your _______ property to create your path to check.
Q.7
A snapshot of the session data can be taken at any time and written out to a file.
Q.8
When the session data is written to a file, it can be read back, decoded and applied to the current session using the . . . . function.
Q.9
Which function do you have to use to check whether the $path you’ve stored exists?
Q.10
Which one of the following is true about the following line – $obj = new ImageHandler(‘/images/’, array(400, 300));
Q.11
Before you can start processing images with PHP, you must first add the ability to upload images to your administrative form on ________
Q.12
When you’re uploading files you need to set the enctype of the form to __________
Q.13
To check whether a file was uploaded, you look in the _______ superglobal array.
Q.14
To make the ImageHandler class portable you should create a separate file for it called __________
Q.15
DocBlocks are indicated by opening a comment using _________
Q.16
Which parameter determines whether the old session file will also be deleted when the session ID is regenerated?
Q.17
Which function effectively deletes all sessions that have expired?
Q.18
Which function is used to erase all session variables stored in the current session?
Q.19
What will the function session_id() return is no parameter is passed?
Q.20
Which function is used to transform PHP’s session-handler behavior into that defined by your custom handler?
0 h : 0 m : 1 s