Posts by Alef Lima • 45 points
2 posts
-
2
votes2
answers514
views -
2
votes1
answer613
viewsQ: PHP Ziparchive function does not work with more than one file
The code is as follows:: $zip = new ZipArchive(); $criou = $zip->open("download.zip", ZipArchive::CREATE); if ($criou === true){ $diretorio = UPLOAD_DIR . 'produto/small/'; foreach ($imagens as…