Vidyalelo
PHP · all questions

Website Security
practice.

Practice every MCQ with options. Use Show answers when you want the correct option and solution.

10

Questions

1/1

Page

Pick an option on a question to see the right answer and solution.

Which one of the following statements should be used to disable just the fopen(), and file() functions?

Select an option to see the answer and solution.

Which one of the following statements should be used to disable the use of two classes administrator and janitor?

Select an option to see the answer and solution.

What is the default value of max_execution_time directive? This directive specifies how many seconds a script can execute before being terminated.

Select an option to see the answer and solution.

The memory_limit is only applicable if _______ is enabled when you configure PHP. Fill in the blank.

Select an option to see the answer and solution.

Suppose all web material is located within the directory /home/www. To prevent users from viewing and manipulating files such as /etc/password, which one of the following statements should you use?

Select an option to see the answer and solution.

Which Apache directive outputs Apache’s server version, server name, port and compile-in modules?

Select an option to see the answer and solution.

Which directive determines which degree of server details is provided if the ServerSignature directive is enabled?

Select an option to see the answer and solution.

Which directive should we disable to obscure the fact that PHP is being used on our server?

Select an option to see the answer and solution.

Say I want to change the extension of a PHP file, which of the following statements should I edit to change from .php to .html in the httpd.conf file?

Select an option to see the answer and solution.

The developers of PHP deprecated the safe mode feature as of which PHP version.

Select an option to see the answer and solution.