Im not sure what is your problem. If you just don’t know how to use CURL – here you have example:
$oCurl = curl_init(); // initialize curl object
$url="http://domain.com/page";
curl_setopt($oCurl, CURLOPT_URL, $url); // set URL
$siteContent = curl_exec($oCurl); // you will get HTML or other file contents here
0
solved Downloading files with curl in PHP [closed]