New Year Sale ! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Zend Exam 200-710 Topic 1 Question 82 Discussion

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

When uploading a file to a PHP script using the HTTP PUT method, where would the file data be found?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Carolann
5 days ago
I believe it would be in the input stream php://input.
upvoted 0 times
...
Lawanda
10 days ago
The $_FILES super-global is where you usually find file data, but for a PUT request, that might not be the case. I'm going to go with option B.
upvoted 0 times
...
Crissy
13 days ago
Hmm, I'm pretty sure it's not in the $_POST super-global. That's for form data, not file uploads. Gotta be the input stream, php://input.
upvoted 0 times
...
Eliz
19 days ago
I think the file data would be found in the $_FILES super-global.
upvoted 0 times
...

Save Cancel