What PHP superglobal array holds the information about uploaded files?
- $_FILES
- $_POST
- $_GET
- $_REQUEST
The $_FILES superglobal array in PHP holds the information about uploaded files. It provides access to the file name, temporary file location, file size, and other details of the uploaded file. This array is available after a file has been uploaded using an HTML form with the appropriate settings.
Loading...
Related Quiz
- A common practice in PHP file handling is to always close the file after you're done with it using the fclose() function to free up ______.
- How do you create a MySQL database using PHP?
- How does a PHP class implement an interface?
- What is the default session time in PHP?
- To access data from the $_SERVER superglobal in PHP, you can use $_SERVER['element'] where 'element' is the name of the ______ you wish to access.