Jump to content

file_get_contents fails from some servers?


LLLLLLL

Recommended Posts

I have release notes on my server, at example.com/release.txt. My software points to this file so people can see the notes:

 

file_get_contents( http://example.com/release.txt );

 

Why -- since all sites are on the internet -- can most of my customers see the file but some cannot? Just seems odd to me. Could some servers be turning that off or something? Doesn't seem like a problem on my server.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.