Save Image to Server Directly from URL

by Dinesh 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));



Tagged in:

913
like
0
dislike
0
mail
flag

You must LOGIN to add comments