Topic: On the fly zip, zip empty (Read 1722 times)
Google dot what?
Posts: 2
16 credits Members referred : 0
« on: Jul 04, 2008, 11:08:30 am »
Hello Olaf, Hi all
I'm trying to implement your script (PHP5 MacOSX) and it works. The problem is that the archive is empty, perhaps I missed some documentation on folders usage.
This is my structure:
/cascina (the website to backup) /backupdb (contains mysql dump backup script) /backupsite (contains createzip,inc.php, run.php and backups folder
This is my code:
Code:
$createZip = new createDirZip; $createZip->addDirectory('../cascina/'); $createZip->get_files_from_folder('../cascinaselmo', 'backups/');