How to zip a file in CI4 |
Prepend the namespace separator to ZipArchive. Like this
$zip = new \ZipArchive(); or if you do not want that. Try this instead, <?php namespace App\Controllers; use ZipArchive; $zip = new ZipArchive(); |
Messages In This Thread |
How to zip a file in CI4 - by judeluis18 - 06-18-2020, 10:29 PM
RE: How to zip a file in CI4 - by InsiteFX - 06-19-2020, 08:38 AM
RE: How to zip a file in CI4 - by kilishan - 06-19-2020, 10:38 AM
RE: How to zip a file in CI4 - by what2see - 10-15-2020, 12:16 AM
RE: How to zip a file in CI4 - by paulbalandan - 10-20-2020, 08:07 AM
|