Zend
200-550 · Question #211
Your application uses PHP to accept and process file uploads. It fails to upload a file that is 5 MB in size, although upload_max_filesize is set to "10M". Which of the following configurations…
The correct answer is A. The PHP configuration option post_max_size is set to a value that is too small D. The hidden form field MAX_FILE_SIZE was set to a value that is too small. See the full explanation below for the reasoning.
Question
Your application uses PHP to accept and process file uploads. It fails to upload a file that is 5 MB in size, although upload_max_filesize is set to "10M". Which of the following configurations could be responsible for this outcome? (Choose 2)
Options
- AThe PHP configuration option post_max_size is set to a value that is too small
- BThe web server is using an incorrect encoding as part of the HTTP response sent to the client
- CThe browser uses an incorrect encoding as part of the HTTP request sent to the server
- DThe hidden form field MAX_FILE_SIZE was set to a value that is too small
- EPHP cannot process file uploads larger than 4 MB
How the community answered
(26 responses)- A69% (18)
- B4% (1)
- C8% (2)
- E19% (5)
Community Discussion
No community discussion yet for this question.