CodeIgniter Forums

Full Version: Uploading LARGE Files
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

Hi guys,

I have built a CMS for a client but he wants to upload really really large files (30Mb+).

I have set the max_filesize to be 80Mb but before I release it to him I would like to know if there are any issues I should be aware of - eg timeout issues on the server? Is there anything I can do to facilitate this?


El Forum

Be sure that your php.ini file has appropriate settings

; Maximum allowed size for uploaded files.
upload_max_filesize = 40M

; Must be greater than or equal to upload_max_filesize
post_max_size = 40M

Also have in mind that in some server configurations you have to set these on the php.ini file and you can't alter them at runtime

El Forum

Thanks for that. Fortunately it's a dedicated server so this means php.ini settings should be fine. I have now found out that the client does not need to use a tablet so that means some uploadify SWF or other JS Uploader may be easier to implement.