Zend
200-550 · Question #48
Your public web application needs to provide access to binary files for registered users only. How would you achieve this?
The correct answer is C. Use PHP to send the file to the client, using the header() function to set appropriate HTTP. See the full explanation below for the reasoning.
Question
Your public web application needs to provide access to binary files for registered users only. How would you achieve this?
Options
- AHost the files on a public external file sharing service.
- BRedirect to the file which resides in the server's document root
- CUse PHP to send the file to the client, using the header() function to set appropriate HTTP
- DPHP is used for service HTML content, not binary content
How the community answered
(34 responses)- A3% (1)
- B15% (5)
- C76% (26)
- D6% (2)
Community Discussion
No community discussion yet for this question.