Q.1
Which directive determines whether PHP scripts on the server can accept file uploads?
Q.2
Which of the following directive determines the maximum amount of time that a PHP script will spend attempting to parse input before registering a fatal error?
Q.3
What is the default value of max_input_time directive?
Q.4
Since which version of PHP was the directive max_file_limit available.
Q.5
What is the default value of the directive max_file_limit?
Q.6
In which authentication method does changing the username or password can be done only by entering the code and making the manual adjustment.
Q.7
The authentication File.txt, the file which stores username and password should be stored ________ the server document root.
Q.8
Which function is used to split a string into a series of substrings, with each string boundary is determined by a specific separator?
Q.9
In which of the following situations does file-based authentication become inconvenient.
1. small list
2. large number of user
3. users are being regularly added
4. static authentication
Q.10
Which is the most powerful authentication method among the four?
Q.11
session_destroy() instantly destroy elements of the $_SESSION array.
Q.12
Appending session data to an absolute URL does not represent a security risk.
Q.13
How many predefined variables does PHP use to authenticate a user?
Q.14
If the php.ini register_globals directive is set, session data becomes available in the . . . . namespace.
Q.15
No expiry date is set in the cookie that PHP sets for the session. The session remains current only as long as the browser is active. When the browser is restarted the cookie is not stored. This behavior can be changed by altering . . . . . setting in php.ini file.
Q.16
session_destroy() erases all session variable.
Q.17
Which of the following variables does PHP use to authenticate a user?
1. $_SERVER[‘PHP_AUTH_USER’].
2. $_SERVER[‘PHP_AUTH_USERS’].
3. $_SERVER[‘PHP_AUTH_PU’].
4. $_SERVER[‘PHP_AUTH_PW’].
Q.18
Which of the following PHP function is commonly used when handling authentication via PHP?
1. header()
2. footer()
3. inset()
4. isset()
Q.19
Which function is used to verify whether a variable contains a value?
Q.20
Which of the following are types of PHP authentication implementation methodologies?
1. Hard-coding a login pair directly into the script
2. File-based authentication
3. Data-based authentication
4. PEAR’S HTTP authentication
0 h : 0 m : 1 s