Jump to content

PHP - Creating a ZIP file from a user directory...


shiny_spoon

Recommended Posts

Hey guys and gals...

 

I can only seem to find bits and pieces of the answer I'm looking for, so I figured I'd ask here!

 

I was wondering if it's possible to create a ZIP file from an entire directory on the end users computer and then submit that same ZIP to a MySQL DB.

 

So, to recapitulate step by step:

  • Grab all files and folders recursively from a directory on the users end (let's say C:\ZipMe\*.*)
  • Create a ZIP file (Or any other type of archive, really. Whatever is easiest!) with these files/folders
  • Send the archive to a MySQL DB (blob field)

 

If you don't feel like typing out the whole thing, anything pointing me in the right direction would be wonderful.

 

Much appreciated! ;)

Archived

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

×
×
  • Create New...

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.