Hi I am designing a site with a cms system and would like to add an option of uploading a zip file containing about 8mb, is there any pitfalls or any thing I should be aware of? is it as easy as just uploading a file?
Any help and I would be grateful.
Just make sure you set the max upload limit and possibly allow a longer script execution time to avoid timeouts on slow connections.
There are various numbers of security risks with uploading files. Is it only you who will be able to upload the files or anyone?
It's pretty easy to secure uploading a zip. You simply attempt to open the zip file, if it fails then don't upload. If it suceeds it means the file is valid.
Its only one person who will be uploading the zips and he owns the website so in theory there shouldnt be any security risks.
How would I allow longer script execution time?
Thanks for help.