Zip files from URL - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Zip files from URL (/showthread.php?tid=1417) |
Zip files from URL - behnampmdg3 - 03-08-2015 Hi; How can I zip a few files from url? This doesn't seem to be the right approach: PHP Code: $data = array( RE: Zip files from URL - behnampmdg3 - 03-09-2015 Anyone? Is there something wrong with CI's zip library? I read in a few posts that this is broken RE: Zip files from URL - silentium - 03-10-2015 I think you have misunderstood how the add_data function works when using an array. You are trying to use the file key as path, which is incorrect.
http://www.codeigniter.com/userguide3/libraries/zip.html |