file_get_contents() failed to open stream: HTTP request fail

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
sggoyal
Forum Newbie
Posts: 1
Joined: Thu Sep 04, 2008 6:36 am

file_get_contents() failed to open stream: HTTP request fail

Post 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
User avatar
jaoudestudios
DevNet Resident
Posts: 1483
Joined: Wed Jun 18, 2008 8:32 am
Location: Surrey

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

Post by jaoudestudios »

what is your code?
Post Reply