BlackFriday 2024! 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 6 Question 72 Discussion

Actual exam question for Zend's 200-710 exam
Question #: 72
Topic #: 6
[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:

Edward
2 months ago
I think it's in the global variable scope.
upvoted 0 times
...
Delisa
2 months ago
I'm not sure, but I think it might be in the $_POST super-global.
upvoted 0 times
...
Roosevelt
2 months ago
I believe it would be in the input stream php://input.
upvoted 0 times
...
Alex
2 months ago
I think the file data would be found in the $_FILES super-global.
upvoted 0 times
...
Maia
2 months ago
I think it might be in the global variable scope.
upvoted 0 times
...
Chantell
2 months ago
I'm pretty sure it's in the $_POST super-global.
upvoted 0 times
...
Mi
3 months ago
Wait, the file data is in the input stream? I thought that was just for reading raw request bodies. Where's the fun in that? I was hoping for some hidden treasure in the $_FILES super-global.
upvoted 0 times
...
Susana
3 months ago
I believe it's actually in the input stream php://input.
upvoted 0 times
...
Margot
3 months ago
Hmm, I thought the file data would be in the global variable scope. Guess I need to brush up on my PHP file upload knowledge. *scratches head*
upvoted 0 times
Cheryl
2 months ago
B) the input stream php://input
upvoted 0 times
...
Kimberely
2 months ago
No, the file data is not in the global variable scope.
upvoted 0 times
...
Donte
2 months ago
A) the $_FILES super-global
upvoted 0 times
...
...
Micheline
3 months ago
I'm pretty sure the file data is in the input stream, not the $_POST super-global. That's for form data, not file uploads.
upvoted 0 times
Billi
2 months ago
So the answer would be B) the input stream php://input.
upvoted 0 times
...
Cammy
2 months ago
Yes, that's correct. The $_POST super-global is for form data, not file uploads.
upvoted 0 times
...
Weldon
3 months ago
I think you're right, the file data would be found in the input stream php://input.
upvoted 0 times
...
...
Annalee
3 months ago
I think the file data would be found in the $_FILES super-global.
upvoted 0 times
...
Carylon
4 months ago
The file data should be in the input stream php://input, not the $_FILES super-global. That's for file uploads using the HTTP POST method.
upvoted 0 times
Bettye
3 months ago
No, the file data is not in the $_FILES super-global when using the HTTP PUT method.
upvoted 0 times
...
Stevie
3 months ago
A) the $_FILES super-global
upvoted 0 times
...
Misty
3 months ago
That makes sense, the file data is indeed found in the input stream php://input.
upvoted 0 times
...
Isadora
3 months ago
B) the input stream php://input
upvoted 0 times
...
...

Save Cancel