| Permalink |
| Found: 1 | ||||||||
... isn't working. Any idea what I'm doing wrong? (See code below) $zip = new Zip(); foreach ($tutorials as $tutorial) { $file = PDF_PATH.$tutorial['slug'].'.pdf'; if (file_exists($file)) { $zip->addFile(file_get_contents($file), $file); } } $zip->sendZip('test.zip'); in the Zip.php source, search for all ...