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.