View Full Version : Zip/Rar/GZip file?
I was wondering how I could zip, rar or gzip an array of files located in /files, and then let the user download it.
I know it's possible, because phpMyAdmin does it, heh.
Help would be appreciated, as always.
Zachery
24 Apr 2005, 16:04
I was wondering how I could zip, rar or gzip an array of files located in /files, and then let the user download it.
I know it's possible, because phpMyAdmin does it, heh.
Help would be appreciated, as always.
You're host would need to havve the libs avaible in php like zlib or zip I think...
I know they're there, and I know it's possible, but I just don't know how to (g)zip an array of files...
Doesn't the member area at vb.com use this aswell?
Trigunflame
24 Apr 2005, 17:21
*directs death to vb backup pro*
I've looked through your code (very nicely coded by the way :D), but I'm guessing we misunderstood eachother.
What I want to do, is get an array of files (located in a directory), and compress them.
From what I understood what your hack does, is that it creates a zip of a single file, which is the SQL backup.
I don't know if I'm correct though, never tried your hack.
If your hack does indeed do what I want, could you maybe point me in the right direction? (where to look for the code)
vBulletin® v3.6.12, Copyright ©2000-2013, Jelsoft Enterprises Ltd.