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

A upload_tmp_dir “/tmp/phpuploads/ directory”
B upload_dir “/tmp/phpuploads/ directory”
C upload_temp_dir “/tmp/phpuploads/ directory”
D upload_temp_director “/tmp/phpuploads/ directory”

Correct Answer: upload_tmp_dir “/tmp/phpuploads/ directory”

Anyone can temporarily store uploaded files on the given directory. One cannot change upload_tmp_dir at the runtime. By the time a script runs, the upload process has already occurred.

Related Questions

Which command is used to copy the three files wb, collect and mon into the misc directory, under the same, when you were currently in the programs directory?
Which command is used to move all files to the bin sub-directory of the parent directory?
In which directory can you store system user default files used for creating user directories?

Next steps