Posts: 481
Location: Gold Coast - Brisbane QLD, Australia
|
Uploading files of that size requires the server to be configured to allow http uploads that big and the execution time required to complete the upload. Then php has to be configured to permit a file that big to upload and to extend script execution time for the duration of the transfer. Before you even get to the script, you have to consider the lowest upload speed of a user's connection then factor that speed into the server and php configurations.
If configuring the server isn't possible on your account, ftp via php may be an option.
The scripting side is pretty simple; the php forum is full of large file upload scripts. Validating the file format before uploading is a bit trickier; that can only be done with javascript. But again, you'll find working examples in the javascript forum. Did you try a search? The above JS thread looks like it'd do the job nicely.
Secure? SSL perhaps? Or were you thinking about file permissions and what not?
|