How to download images with cURL PHP

If you would like to download images from URL using PHP, use this snippet.

I've tried it with HTTPS and seems to work fine. I am no master of cURL but I've read you might encounter issues with SSL. Watch out for those in case the snippet doesn't work.

Leave a Reply

Add <code> Some Code </code> by using this tags.

*
*