file max file size has to be set in the php.ini. Possibly in an .htaccess file too. I'm on IIS here so can't tell you for sure.
The script is for images and uses checks to see it's an image (please see my previous posts in this thread about the insecurity that exists). You would need to remove them and add a file extension check for the type of files you allow.
ok so i have a script not sure if its like any of the ones here. it lets me upload images to separate files determined by username. my question is, is there a way to display or download them to another computer? im trying to create an admin side of the web site that allows the admin to view uploaded files by username.
thats not what i ment. i know the admin can use save as. i mean what do i put into my code to display the images that a specific user uploaded? no its not just one image so cant exactly use just a single image tag in the html part. i wont know the number of images each user uploads. currently i am trying to save the image location to the database so i can have access to it, but for some reason it is not actually inserting any info into the database. it is saving the image under the user' folder (username is folder name) and renaming the image. but not saving the image location to the image location to the image table
ok i have a harder one for you. how do you select a file to zip then download it. i know it can be done because the script i have does it. there are only a few minor problems with it. 1 it saves the zip file to the server not to my desktop and 2 it only inserts the files that i hard code into the script into the zipped file. i want it to download a file that i type into a text box.