Forum Moderators: phranque
There are many free scripts to do this, check them out at a place like cgi-resources.com
You will also be able to limit the files size and image dimensions in the script, displaying an error message if these are not complied with.
The HTML form can also limit the file size of the uploaded file but does not enable ou you to dislay an error message
Re: removing all execute permissions. After reading this, I checked the permissions on the directory that I have image uploads going to. I changed it so that there were no execute permissions (except for owner), but then it wouldn't allow me to upload anything so I had to change it back. Why is that?
Also, I recently found a nice php fileupload script on hotscripts.com. Unfortunately after I tried it to see how it was, I couldn't remember exactly which one it was I downloaded and there's not identifying info in it. But there were several there that sounded good. Hopefully I'll be able to find out which one it was I downloaded so that I can rate it.
Thanks.
[edited by: DaveAtIFG at 1:21 am (utc) on July 11, 2003]
[edit reason] DeLinked URL [/edit]