Welcome to WebmasterWorld Guest from 126.96.36.199
x1 with PHP 4.3.7
x2 with PHP 4.3.9
all with: allow_url_fopen = on
$GrabURL = "http://www.example.com/index.php";
$GrabStart = "<html>";
$GrabEnd = "</html>";
$OpenFile = fopen("$GrabURL", "r");
$RetrieveFile = fread($OpenFile, 200000);
$GrabData = eregi("$GrabStart(.*)$GrabEnd", $RetrieveFile, $DataPrint);
problem is this code use to work for me a while back but now i get a blank page, tried different pages and 3 hosts i use. this seems to be since PHP was upgraded from 4.3.1 i believe.
as it seems to be the same on 3 different hosts i have not approached my host.
i have searched and googled and just seem to find other people with the same problem, i was hoping one of you experts could help.