Zend
200-710 · Question #231
Your supervisor wants you to disallow PHP scripts to open remote HTTP and FTP resources using PHP's file functions. Which php.ini setting should you change accordingly?
The correct answer is A. allow_url_fopen, allow_url_fopen=Off, allow_url_fopen=Off. See the full explanation below for the reasoning.
Security
Question
Your supervisor wants you to disallow PHP scripts to open remote HTTP and FTP resources using PHP's file functions. Which php.ini setting should you change accordingly?
Options
- Aallow_url_fopen, allow_url_fopen=Off, allow_url_fopen=Off
- Ballow_url_fopen=On, allow_url_fopen=Off, allow_url_fopen=Off
- Callow_url_fopen = Off
- Dallow_url_fopen = On
How the community answered
(39 responses)- A85% (33)
- B3% (1)
- C5% (2)
- D8% (3)
Topics
#allow_url_fopen#php.ini#remote file access#security configuration
Community Discussion
No community discussion yet for this question.