1.

Which superglobal stores a variety of information pertinent to a file uploaded to the server via a PHP script?(a) $_FILE Array(b) $_FILES Array(c) $_FILES_UPLOADED Array(d) $_FILE_UPLOADED ArrayI got this question by my school teacher while I was bunking the class.Question is taken from Uploading Files with PHP topic in portion File and Session Handling in PHP of PHP

Answer»

The CORRECT ANSWER is (B) $_FILES Array

To explain I would say: The superglobal $_FILES is a two-dimensional associative global array of ITEMS which are being uploaded by via HTTP POST method and holds the ATTRIBUTES of files.



Discussion

No Comment Found

Related InterviewSolutions