I was just testing out a code and I found something rather pathetic.
This code does not produce anything.
<?php
$source = file_get_contents("http://mysite.com/random/page.html");
echo $source;
?>
But this code does
<?php
$source = file_get_contents("page.html");
echo $source;
?>
The php script and page.html are in the same folder, so perhaps that's the issue, but I don't see why it should make a difference if I give it the full path name or not. Am I missing something?