Jump to content

Archived

This topic is now archived and is closed to further replies.

Stinger

PHP Zip backup directories & subdirectories

Recommended Posts

Hi,
Been trying to find and successfully run a script, that will zip up a directory & subdirectories with all files, and offer it as download.

http://www.phpclasses.org/browse/package/945.html

I managed to get this one to zip up all files, but it didnt use the appropriate folders and levels, jus tall files in one zip.
After playing with  it, I managed to get it to recognise the folders, but they were zipped as 'file' files, not folders, and so unuseable.

Can anyone offer a fix for the above script? Or a possible alternative, please.

Thanks in advance,

~

Share this post


Link to post
Share on other sites
I have something that might work for you, I just need to convert to file storage instead of using a memory container. I'll post the code this afternoon. Currently it only does zip files!

me!

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.