jruzafa
10/29/2013 - 7:08 PM

Saving image from PHP URL using PHP

Saving image from PHP URL using PHP

$content = file_get_contents('http://example.com/image.php');
file_put_contents('/my/folder/flower.jpg', $content);