If anyone can help me, I would be REALLY grateful.
I am trying to pull the contents of another website on another server using the "echo file_get_contents('http://domain.com/index.php');" command. This works fine on some of my servers, but on others it does not get anything for 90% of my domains, but does on the other 10%. I have no idea why.
The page I am trying to load is:
Code: Select all
<?php
error_reporting(E_ALL ^ E_NOTICE);
echo file_get_contents('http://domain.com/tos/remote.php?id=3');
?>
thanks in advance for any advice
Keith