Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Zend 200-710 Exam - Topic 7 Question 63 Discussion

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

0/2000 characters
Deeanna
4 months ago
I thought it would be in the global variable scope.
upvoted 0 times
...
Jutta
4 months ago
Definitely php://input, that's the way to go!
upvoted 0 times
...
Candida
4 months ago
Wait, are you sure it's not in $_POST?
upvoted 0 times
...
Dana
5 months ago
Totally agree, $_FILES is for uploads via POST.
upvoted 0 times
...
Ammie
5 months ago
It's in the input stream php://input!
upvoted 0 times
...
Carmelina
5 months ago
I’m leaning towards the $_POST super-global, but I have a nagging feeling that it’s not the right one for file uploads.
upvoted 0 times
...
Jerlene
5 months ago
I feel like the answer could be php://input, but I can't recall if that's specifically for PUT requests or not.
upvoted 0 times
...
Aretha
5 months ago
I remember practicing a question like this, and I think it was about $_FILES, but that was for POST requests, right?
upvoted 0 times
...
Izetta
6 months ago
I think the file data might be in the php://input stream, but I'm not entirely sure.
upvoted 0 times
...
Nieves
6 months ago
Okay, I think I've got it. Since the question is specifically about the HTTP PUT method, the file data would be in the input stream php://input, not the $_FILES or $_POST super-globals. I'm feeling pretty confident about that.
upvoted 0 times
...
Shizue
6 months ago
The question mentions the HTTP PUT method, so I'm guessing the file data would be in the input stream, not the $_FILES super-global. That's my best guess.
upvoted 0 times
...
Latonia
6 months ago
Hmm, I'm not sure about this one. I know the $_FILES super-global is used for file uploads, but I'm not sure if that applies to the HTTP PUT method specifically.
upvoted 0 times
...
Meghann
6 months ago
I think the file data would be in the input stream php://input, since that's where raw HTTP request data is typically stored.
upvoted 0 times
...
Brett
6 months ago
I'm a bit confused on this one. I know the $_POST super-global is used for form data, but I'm not sure if that applies to the PUT method. I'll have to think this through carefully.
upvoted 0 times
...
Annabelle
6 months ago
I'm a little stumped on this one. I know local governments have to get audits, but I can't recall the specific requirements. I'll have to make an educated guess here.
upvoted 0 times
...
Sommer
6 months ago
Alright, this seems straightforward enough. The version difference is the likely culprit here. I'll make sure to carefully check the Jira versions between my staging and production environments before attempting any workflow migrations in the future.
upvoted 0 times
...
Twanna
6 months ago
I feel like the local area network should be included because it supports connectivity, but I can't recall if it specifically helps in knowledge management.
upvoted 0 times
...
Casie
2 years ago
Alright, php://input it is then. Thanks for the clarification, everyone.
upvoted 0 times
...
Dino
2 years ago
I was confused at first, but makes sense now. Definitely not $_FILES or $_POST.
upvoted 0 times
...
Latonia
2 years ago
I've seen php://input used in a script before for PUT requests.
upvoted 0 times
...
Herman
2 years ago
I agree with you. Using PUT, data doesn't show up in $_FILES.
upvoted 0 times
...
Rhea
2 years ago
Yeah, it's not straightforward. I think it's B) the input stream php://input.
upvoted 0 times
...
Casie
2 years ago
This question about HTTP PUT and PHP is tricky.
upvoted 0 times
...
Stanford
2 years ago
No, it's in the input stream php://input.
upvoted 0 times
...
Thea
2 years ago
Is it not in the $_FILES super-global?
upvoted 0 times
...
Laurel
2 years ago
B) the input stream php://input
upvoted 0 times
...
Lindsey
2 years ago
When uploading a file to a PHP script using the HTTP PUT method, where would the file data be found?
upvoted 0 times
...

Save Cancel