PHP

PHP

Uploading Files has 10 Questions

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

file_uploads
file_upload
file_input
file_intake
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?

max_take_time
max_intake_time
max_input_time
max_parse_time
What is the default value of max_input_time directive?

30 seconds
60 seconds
120 seconds
1 second
Since which version of PHP was the directive max_file_limit available.

PHP 5.2.1
PHP 5.2.2
PHP 5.2.12
PHP 5.2.21
What is the default value of the directive max_file_limit?

10 files
15 files
20 files
25 files
Which directive sets a maximum allowable amount of memory in megabytes that a script can allow?

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

upload_tmp_dir "/tmp/phpuploads/ directory"?
upload_dir "/tmp/phpuploads/ directory"?
upload_temp_dir "/tmp/phpuploads/ directory"?
upload_temp_director "/tmp/phpuploads/ directory"?
Which superglobal stores a variety of information pertinent to a file uploaded to the server via a PHP script?

$_FILE Array
$_FILEs Array
$_FILES_UPLOADED Array
$_FILE_UPLOADED Array
How many items are available in the $_FILES array?

2
3
4
5
Which function is used to determine whether a file was uploaded?

is_file_uploaded()
is_uploaded_file()
file_uploaded("filename"?)
uploaded_file("filename"?)