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

🎲 Try a Random Question  |  Total Questions in Quiz: 10  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
PHP Programming Basics Practice Test: Uploading Files with PHP — practice the complete quiz, review flashcards, or try a random question.

To upload files using PHP, you can: Configure the php.ini file to allow file uploads Use an HTML form with a method attribute set to post and an ` enctype` attribute set to multipart/form-data Use a `file element to specify the file to upload Use the multidimensional $_FILES array to access information about the file upload Use the information in the $_FILES array to move the file from the temporary directory to the desired location  When a file is uploaded, it's saved as a temporary file, and the full path to this file is in the temp name element. Once uploaded, you need to move this... Show more

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