<?php $r=file_get_contents('http://www.manuelmacha.de/images/projects/pepito_02.jpg'); $im=imagecreatefromstring($r); imagejpeg($im,'c:\pepito.jpg',100); ?>