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

Correct Answer : Option (A)

file_uploads
  Show Answer
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?

Correct Answer : Option (C)

max_input_time
  Show Answer
3 .
Since which version of PHP was the directive max_file_limit available.

Correct Answer : Option (C)

PHP 5.2.12
  Show Answer
4 .
Which directive sets a maximum allowable amount of memory in megabytes that a script can allow?

Correct Answer : Option (D)

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

Correct Answer : Option (A)

upload_tmp_dir “/tmp/phpuploads/ directory”
  Show Answer
6 .
Which superglobal stores a variety of information pertinent to a file uploaded to the server via a PHP script?

Correct Answer : Option (B)

$_FILES Array
  Show Answer
7 .
Which function is used to determine whether a file was uploaded?

Correct Answer : Option (B)

is_uploaded_file()
  Show Answer
8 .
What is the full form of DNS?

Correct Answer : Option (D)

Domain Name System
  Show Answer
9 .
Which one of the following function is used to return an array consisting of various DNS resource records pertinent to a specific domain?

Correct Answer : Option (B)

dns_get_record()
  Show Answer
10 .
Which one of the following function is used to retrieve the MX records for the domain specified by hostname?

Correct Answer : Option (B)

getmxrr()
  Show Answer