Jump to content

Recommended Posts

Posted

So, something seems to have changed recently. Stevie randomly refuses to file_get_contents() its own files through HTTP. It returns an empty string.

<?php

$content = file_get_contents("http://si3.raxsoft.com/changelog.txt");
echo $content;

?>

Code above can be run here: http://si3.raxsoft.com/debug_fgc.php It returns a blank page for me. However, when run on my local server, it retrieves and shows the changelog.txt just fine.

 

It used to work since a bunch of stuff on my account has been doing it for years...Any ideas on this?

Posted

There was a bug in our firewall where it blocked loopback, but didn't list it as a blocked address. Whatever the issue was restarting it fixed it. Thanks for pointing it out.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...