11. How many predefined variables does PHP use to authenticate a user?
12. 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’].
1. $_SERVER[‘PHP_AUTH_USER’].
2. $_SERVER[‘PHP_AUTH_USERS’].
3. $_SERVER[‘PHP_AUTH_PU’].
4. $_SERVER[‘PHP_AUTH_PW’].
13. Which of the following PHP function is commonly used when handling authentication via PHP?
1. header()
2. footer()
3. inset()
4. isset()
1. header()
2. footer()
3. inset()
4. isset()
14. Which function is used to verify whether a variable contains a value?
15. 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
1. Hard-coding a login pair directly into the script
2. File-based authentication
3. Data-based authentication
4. PEAR’S HTTP authentication
16. In which authentication method does changing the username or password can be done only by entering the code and making the manual adjustment.
17. The authentication File.txt, the file which stores username and password should be stored ________ the server document root.
18. Which function is used to split a string into a series of substrings, with each string boundary is determined by a specific separator?
19. 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
1. small list
2. large number of user
3. users are being regularly added
4. static authentication