Yes, in fact, php supports using http:// as the beginning of a filename with fopen and standard file work.
I.e.:
$fp = fopen("http://server2/path/to/file.html","r");
$file = fread($fp,1000000);
$fp2 = fopen("localfile","w");
fwrite($fp2,$file,strlen($file));
fclose($fp);
fclose($fp2);
Or something like that.