Re: file_get_contents ($file) works -- file_get_contents ($url) returns false
| From: | René Fournier | Date: | Mon, 14 Dec 2009 14:56:51 +0000 |
| Subject: | Re: file_get_contents ($file) works -- file_get_contents ($url) returns false | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-300487@lists.php.net to get a copy of this message | ||
On 2009-12-14, at 10:44 PM, Cafer Şimşek wrote:
> René Fournier <m5@renefournier.com> writes:
>
>> 4. as per php.ini, allow_url_fopen On
>
> Look at from phpinfo() the settings is already "On".
Yes, I know.
Which is why it's odd that the function fails on URLs.