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 Exam 200-710 Topic 7 Question 47 Discussion

Actual exam question for Zend's 200-710 exam
Question #: 47
Topic #: 7
[All 200-710 Questions]

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)

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Vallie
1 months ago
Haha, E? 4 MB? What is this, the 90s? I'm pretty sure modern PHP can handle much larger file uploads. This exam is trying to trip us up, but we're too smart for that!
upvoted 0 times
Helga
18 days ago
D) The hidden form field MAX_FILE_SIZE was set to a value that is too small
upvoted 0 times
...
Erasmo
22 days ago
A) The PHP configuration option post_max_size is set to a value that is too small
upvoted 0 times
...
...
King
1 months ago
B and C? Really? The web server and browser encoding? That's just a red herring. This is all about the PHP configuration and the form settings. Easy peasy!
upvoted 0 times
...
Silva
1 months ago
Hmm, I think it's definitely A and D. The post_max_size setting and the MAX_FILE_SIZE form field have to be larger than the file size, or else the upload will fail. Gotta love these trick questions!
upvoted 0 times
Geraldine
3 days ago
User 3: So it's not about the web server or browser encoding then?
upvoted 0 times
...
Lamar
21 days ago
User 2: Yeah, those settings definitely play a big role in file uploads.
upvoted 0 times
...
Tammara
29 days ago
User 1: I agree, post_max_size and MAX_FILE_SIZE need to be larger than the file size for the upload to work.
upvoted 0 times
...
...
Honey
2 months ago
I also think D) The hidden form field MAX_FILE_SIZE could be set too small.
upvoted 0 times
...
Evelynn
2 months ago
I agree with Brett. It makes sense that the post_max_size could be the issue.
upvoted 0 times
...
Brett
2 months ago
I think A) The PHP configuration option post_max_size is set too small.
upvoted 0 times
...

Save Cancel