On 03/28/2003 03:15 PM, Shawn wrote:
I'm allowing file uploads, and I want the uploaded files to be zipped on the server (at the time of upload) so that later downloads will be compressed and of a file type that Windows won't have a problem with.
- From reading up on how to go about doing this, it seems that I can create TAR files no problem (out of the box), but in order to create ZIP files, PHP must have been compiled with '--with-zlib'...?? [I'm too new at this, and the zip section in the PHP manual was waaay to sparse for newbies, and totally above my understanding -- or I need more coffee]
Short of emailing my host's support people (and waiting no telling how long), is there any immediate way that I can find out if it's there? I could just implement the script, but I'm pressed for time on this, and would hate to waste the time meddling with it only to find out that it's not possible anyway.
Sure, you may find several Zip archive managing classes here:
http://www.phpclasses.org/browse.html/class/42.html
--
Regards, Manuel Lemos
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php