I am completely confused on how to go about this....
I am fully aware of the fact that the 'zip' extension is read-only, but I need to create the archive with PHP. I cannot ask the user to upload a .zip file because I cannot control what the user puts in it. Sure, I can verify what kind of files are in the .zip archive, and delete the file if it does not match requirements, but that would be a lot harder to do, and the script would have more security flaws. I have checked out the PEAR Archive_Zip library but it has not yet been released. How would I go about creating a .zip file with PHP, if possible?