When we upload a file using HTML Form it is uploaded to tmp folder on server first.
After file uploading process is completed, We need to move the File to our folders using move_uploaded_file() function.
Why file is first uploaded on tmp folder? Why can't we upload the file to our destination folder directly?