SIMULATION - Which PHP function is used to validate where the contents of $_FILES[name][tmp_name] have really been uploaded via HTTP, and also save the contents into another folder?
I think answer should be move_uploaded_file. From manual:
This function checks to ensure that the file designated by filename is a valid upload file (meaning that it was uploaded via PHP's HTTP POST upload mechanism). If the file is valid, it will be moved to the filename given by destination.
upvoted 4 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
stefanospetrakis
4 years ago[Removed]
4 years, 5 months agoZhukovPeter
4 years, 10 months ago