Save Image to Server Directly from URL
by Dinesh[ Edit ] 2014-03-06 20:35:49
Save Image to Server Directly from URL
Simple php code that helps you to save images to web server by using Image Url.
$url = 'http://hiox.org/images/logo.png';
$img = 'hiox-logo.png';
file_put_contents($img, file_get_contents($url));