CodeIgniter Forums
Uploading LARGE Files - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Uploading LARGE Files (/thread-58561.html)



Uploading LARGE Files - El Forum - 06-24-2013

[eluser]rmccallum[/eluser]
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?

Regards,
Rob


Uploading LARGE Files - El Forum - 06-24-2013

[eluser]sotoz[/eluser]
Be sure that your php.ini file has appropriate settings

Code:
; 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


Uploading LARGE Files - El Forum - 06-24-2013

[eluser]rmccallum[/eluser]
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.

Rob.