Page 1 of 1

file_get_contents() failed to open stream: HTTP request fail

Posted: Thu Sep 04, 2008 6:42 am
by sggoyal
hi,

When I try to run my .php file below warning occurs sometime & Sometime work fine :
Warning: file_get_contents("url_file") [function.file-get-contents]: failed to open stream: HTTP request failed! in .php file on line 442.

Please Reply who will I do for solve above issue?

Regard's

Saurabh Goyal
http://webexpert.wordpress.com

Re: file_get_contents() failed to open stream: HTTP request fail

Posted: Thu Sep 04, 2008 8:45 am
by jaoudestudios
what is your code?