From remote to local, I'm trying in this way but it doesn't work...
<?
$filename = "http://www.google.it/images/hp0.gif";
$fd = fopen ($filename, "rb");
$contents = fread ($fd, filesize ($filename));
$local="c:/pic.gif";
if (!copy ($contents, $local)){
echo"cannot copy";}
fclose ($fd);
?>
For testing, I'm trying to copy on local the google' logo..
thanks