nerdexam
Zend

200-550 · Question #194

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

The correct answer is B. the input stream php://input. See the full explanation below for the reasoning.

Question

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

Options

  • Athe $_FILES super-global
  • Bthe input stream php://input
  • Cthe $_POST super-global
  • Dthe global variable scope

How the community answered

(40 responses)
  • A
    13% (5)
  • B
    75% (30)
  • C
    8% (3)
  • D
    5% (2)

Community Discussion

No community discussion yet for this question.

Full 200-550 Practice