Hi
I use the free version of PDA and it’s the latest version.
This is the code for adding files:
$zip = new ZipArchive();
$zipfile = "test.zip";
if ($zip->open($zipfile, ZipArchive::CREATE) === true)
{
$zip->addEmptyDir("Folder 1");
echo $zip->addFile("../../uploads/2022/10/test.mp4", "Folder 1/test.mp4");
$zip->close();
}
This works great when not PDA protected.
Any help would be great 🙂
Hi!
Tried now and there was just a small improvement, 55s load instead of 60s.