Re: file_get_contents ($file) works -- file_get_contents ($url) returns false

From: Date: Mon, 14 Dec 2009 15:02:31 +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 14 15  Groups: php.general 
Request: Send a blank email to php-general+get-300490@lists.php.net to get a copy of this message
On Mon, 2009-12-14 at 17:03 +0200, Cafer Şimşek wrote: > René Fournier <m5@renefournier.com> writes: > > > 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. > > try to get url content from any browser or (if you use Linux / Unix) > curl. > > -- > Cafer Şimşek > DEV Staff Leader > http://pazar.com/ > He already said Curl works, and changing the browser won't affect what PHP is doing. Thanks, Ash http://www.ashleysheridan.co.uk

« previous php.general (#300490) next »