$zipdata
$zipdata :
Zip Compression Class
This class is based on a library I found at Zend: http://www.zend.com/codex.php?id=696&single=1
The original library is a little rough around the edges so I refactored it and added several additional methods -- Rick Ellis
read_dir( $path, $preserve_filepath = TRUE, $root_path = NULL) : boolean
Read a directory and add it to the zip.
This function recursively reads a folder and everything it contains (including sub-folders) and creates a zip based on it. Whatever directory structure is in the original file path will be recreated in the zip file.
$path | ||
$preserve_filepath | ||
$root_path |