I've looked through your code (very nicely coded by the way

), 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)