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'
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'