Multiple choice technology web technology

To work with remote files in PHP you need to enable

  1. allow_url_fopen

  2. allow_remote_files

  3. both of above

  4. none of above

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

allow_url_fopen is the php.ini directive that enables PHP to open remote files using functions like fopen() with URLs. allow_remote_files is not a valid PHP directive. Option A is the correct configuration setting. Option B doesn't exist. Option C is incorrect because 'allow_remote_files' is not a real setting.