$image = file_get_contents('http://www.url.com/image.jpg'); file_put_contents('/images/image.jpg', $image);