Vidyalelo
PHP · all questions

HTML Forms Handling
practice.

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

70

Questions

2/4

Page

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

Which directive determines whether PHP scripts on the server can accept file uploads?

Select an option to see the answer and solution.

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?

Select an option to see the answer and solution.

What is the default value of max_input_time directive?

Select an option to see the answer and solution.

Since which version of PHP was the directive max_file_limit available.

Select an option to see the answer and solution.

What is the default value of the directive max_file_limit?

Select an option to see the answer and solution.

Which directive sets a maximum allowable amount of memory in megabytes that a script can allow?

Select an option to see the answer and solution.

If you want to temporarily store uploaded files in the /tmp/phpuploads/ directory, which one of the following statement will you use?

Select an option to see the answer and solution.

Which superglobal stores a variety of information pertinent to a file uploaded to the server via a PHP script?

Select an option to see the answer and solution.

How many items are available in the $_FILES array?

Select an option to see the answer and solution.

Which function is used to determine whether a file was uploaded?

Select an option to see the answer and solution.

Which one of the following is the very first task executed by a session enabled page?

Select an option to see the answer and solution.

How many ways can a session data be stored?

Select an option to see the answer and solution.

Which directive determines how the session information will be stored?

Select an option to see the answer and solution.

Which one of the following is the default PHP session name?

Select an option to see the answer and solution.

If session.use_cookie is set to 0, this results in use of.

Select an option to see the answer and solution.

If the directive session.cookie_lifetime is set to 3600, the cookie will live until.

Select an option to see the answer and solution.

Neglecting to set which of the following cookie will result in the cookie’s domain being set to the host name of the server which generated it.

Select an option to see the answer and solution.

What is the default number of seconds that cached session pages are made available before the new pages are created?

Select an option to see the answer and solution.

What is the default time(in seconds) for which session data is considered valid?

Select an option to see the answer and solution.

Which one of the following function is used to start a session?

Select an option to see the answer and solution.