File_get_contents() is returning a 503 error


#1

As of Monday night, the PHP function file_get_contents() started giving me 503 errors. I’m calling a local file in the same directory that serves JSON data.

I made a test file and it’s returning the same error…

[php]<?php
$page = file_get_contents(‘getdata.php’);
echo $page;
?>[/php]

This seems to be affecting all my sites hosted by Dreamhost. It’s driving me crazy trying to figure out how to fix this, so any help is greatly appreciated.