Hey all ... need some advice on how to go about having cake zip a folder of images and then allow download of zip file from the browser.
I've built a simple property listing upload system ... each listing can have up to 5 images ... all images are stored in a directory (/ files/listings/) with a corresponding record in a db table. I'd like to offer the functionality to search for a particular set of listings and then download a zipped file of all those images. I'm using 1.2RC3 on a server running PHP 4. I've found a couple of classes to do the "zipping" that seem easy to use but they all require PHP5 ... does anyone know of a simple class to handle the creation of zip files that runs in PHP4? I'm also wondering where the best place is to put the functionality. Should it be a method in the Model? Should it have a controller of its own? Maybe a component or plugin? Would like some advice on the most "cake-like" way to handle such a task. Thanks Scott --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
