![]() |
|
Upload zip without zziplib - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Upload zip without zziplib (/thread-1430.html) |
Upload zip without zziplib - eelay - 2007-05-11 Hi, this is not realy a feature request because i've fixed it myself. I dont have zziplib on my server so i've made a hack that uses pclzip.lib and the zlib library. what you do is upload pclzip.lib.php to your server in the zen/ foler(same folder as e.g. functions.php) function unzip($file, $dir) { $zip = zip_open($file); if ($zip) {
} }
function unzip($file, $dir) { //check if zziplib is installed
} ` I think this should be included in the next releace. A real feature request is a function to zip your images for batch download maby. Alex Upload zip without zziplib - balld - 2007-06-15 eelay, Great! This code snippet works wonders... I think it should be integrated into the standard product. Side note, you might need to copy the entire revised function, instead of the highlighted parts shown above. Thanks, |