PDA

View Full Version : ZIP files


pyro.699
09 Nov 2005, 22:39
Hey, i just installed a downloads section, adn, ive made all files, that are being uploaded, be a zip, as almost everyone can create/make zips, the script that i would like is quite simple, when a user uploads a file, i would liek to run a script, that inserets a file 'readme.txt' into the .zip file.... i know its posible! i just need some help getting the script; now, if the file already exists, i would like a alternate file name to be inplace, like 'frozencreations.txt' or 'open.txt'

Example: User uploads a file "vb_skin.zip" as the script for uploading the file runs, a file 'readme.txt' is inserted into the zip, so the person who downloads it, gets the current contents of the zip file, + 'readme.txt'

pyro.699
11 Nov 2005, 21:05
Comon, i really need this!
---

also, if its that big of a script, how much would a good cost be, to charge someone for it?

pyro.699
13 Nov 2005, 02:12
*Cough* please i really need help *cough*

JTyson
13 Nov 2005, 02:48
http://www.phpconcept.net/pclzip

Try this, ive been usuing it for something else and find it great.