Cyber Monday 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
3 months ago
I think it's in the global variable scope.
upvoted 0 times
...
Delisa
3 months ago
I'm not sure, but I think it might be in the $_POST super-global.
upvoted 0 times
...
Roosevelt
3 months ago
I believe it would be in the input stream php://input.
upvoted 0 times
...
Alex
3 months ago
I think the file data would be found in the $_FILES super-global.
upvoted 0 times
...
Maia
3 months ago
I think it might be in the global variable scope.
upvoted 0 times
...
Chantell
3 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
4 months ago
I believe it's actually in the input stream php://input.
upvoted 0 times
...
Margot
4 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
3 months ago
B) the input stream php://input
upvoted 0 times
...
Kimberely
3 months ago
No, the file data is not in the global variable scope.
upvoted 0 times
...
Donte
3 months ago
A) the $_FILES super-global
upvoted 0 times
...
...
Micheline
4 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
3 months ago
So the answer would be B) the input stream php://input.
upvoted 0 times
...
Cammy
3 months ago
Yes, that's correct. The $_POST super-global is for form data, not file uploads.
upvoted 0 times
...
Weldon
4 months ago
I think you're right, the file data would be found in the input stream php://input.
upvoted 0 times
...
...
Annalee
4 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
4 months ago
A) the $_FILES super-global
upvoted 0 times
...
Misty
4 months ago
That makes sense, the file data is indeed found in the input stream php://input.
upvoted 0 times
...
Isadora
4 months ago
B) the input stream php://input
upvoted 0 times
...
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77