Hi is there any possibility to download a zip file with curl and unzip it on the fly without to save the file ot the disc?
For example:
.
.
.
$resultZip = curl_exec($curl);
$result = some_unzip_way($resultZip);
Thanks! Nik
php curl has a flag to unzip content if needed
curl_setopt($ch,CURLOPT_ENCODING, '')
see this answer
Its not super easy, php has zip functions, but require a file to exist. Look at the first comment on this page, the guy describes your exact scenario and gives some code: