PDA

View Full Version : ZIP files


pyro.699
11-09-2005, 08:39 PM
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-11-2005, 07:05 PM
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
11-13-2005, 12:12 AM
*Cough* please i really need help *cough*

JTyson
11-13-2005, 12:48 AM
<a href="http://www.phpconcept.net/pclzip" target="_blank">http://www.phpconcept.net/pclzip</a>

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