Can we set "allow_url_fopen" "ON" by using ini_set() function in php
The ini_set() function allows you to change system attributes that affect the way your script is executed. Changes only affect the current script, and will revert back when the script ends. To use ini_set() , pass it the value you want to change as its first parameter, and the new value to use as its second parameter.
allow_url_fopen can be used to retrieve data from remote servers or websites. However, if incorrectly used, this function can compromise the security of your site.
PHP disable_functions directive You can disable specific PHP functions by using the disable_functions directive in a custom php. ini file.
you can't, "allow_url_fopen" has the changable mode PHP_INI_SYSTEM
Entry can be set in php.ini or httpd.conf
and not by ini_set()
http://www.php.net/manual/en/configuration.changes.modes.php
allow_url_fopen can only be modified from an ini file or httpd.conf.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With