Jump to content


PHP Zip backup directories & subdirectories

  • Please log in to reply
2 replies to this topic

#1 Stinger

  • Members
  • Pip
  • Newbie
  • 6 posts

Posted 28 September 2006 - 01:39 AM

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


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,


#2 Stinger

  • Members
  • Pip
  • Newbie
  • 6 posts

Posted 02 October 2006 - 02:31 AM


#3 printf

  • Staff Alumni
  • Advanced Member
  • 889 posts

Posted 03 October 2006 - 02:02 PM

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!


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users