PHP: how to save a remote file using CURL phptuts January 12, 2018 How to save a remote file using CURL? You can read more about CURLOPT_WRITEFUNCTION in this article: PHP: Example of usage CURLOPT_WRITEFUNCTION Continue Reading