
sichernich - 2007-01-13 18:46:59
The lib supports to add a string to the zip file.
Syntax:
require_once("dZip.inc.php");
$zip = new dZip("filename.zip");
$zip->addFile(false,'dir/filenameinzip', '',"the data");
$zip->save();
But there is a bug:
Line 39 should be:
$details['uncsize'] = strlen($data);