f1 = fsockopen($_SERVER['SERVER_NAME'], 80);
fwrite($f1,
"GET ".dirname($_SERVER['PHP_SELF'])."/loader.php?file=$_SESSION[path]&save=$_SESSION[save] HTTP/1.1\r\n".
"Host: ".$_SERVER['SERVER_NAME']."\r\n\r\n");
while(!feof($f))
echo fgets($f, 1024);
fclose($f1);
в loader.php в начале
die('loader started');
возвращает ответ?