Hey, Is it possible to zip a directory using php? I’m trying to automate this so that a user can drop a folder on the server and it zips, and so that the admin doesn’t have to zip the folders himself…
I used the code and it works!! at least, in so far as it zips the directory. My next question is, how can I edit that so instead of downloading the file to my computer, it downloads it to my server? I have a feeling it's an issue with the header() lines, but not sure how to fix it.