Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam 200-710 All Questions

View all questions & answers for the 200-710 exam

Exam 200-710 topic 1 question 20 discussion

Actual exam question from Zend's 200-710
Question #: 20
Topic #: 1
[All 200-710 Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: is_uploaded_file() -or- is_uploaded_file

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
stefanospetrakis
4 years ago
Dito, this should be move_uploaded_file()
upvoted 2 times
...
[Removed]
4 years, 5 months ago
the answer should be : move_uploaded_file
upvoted 2 times
...
ZhukovPeter
4 years, 10 months ago
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
...
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.

SaveCancel
Loading ...