Download & save a remote image on your server using PHP

Easy way to download and save a remote image on your own server, using php.

$image = file_get_contents('');
file_put_contents('/images/image.jpg', $image); //Where to save the image on your server

Share this snippet


Leave a Reply

Your email address will not be published. Required fields are marked *

Please respect the following rules: No advertising, no spam, no keyword in name field. Thank you!