Re: Re: allow_url_fopen should be INI_ALL
| From: | Ilia Alshanetsky | Date: | Mon, 27 Jun 2005 14:24:53 +0000 |
| Subject: | Re: Re: allow_url_fopen should be INI_ALL | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-16934@lists.php.net to get a copy of this message | ||
IMO disable allow_url_fopen by default is a bad idea as it would break multitudes of applications that rely on being open URLs via various PHP functions like getimagesize(), simplexml_load_file(), etc...
I think Stefan's idea of allowing the setting to be disabled by the script, but not enabled by it is the best. This way script writers who know which parts of the app/library do not need the functionality can explicitly disable it there.
Ilia