Uploading Large Lmage - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Uploading Large Lmage (/showthread.php?tid=57023) |
Uploading Large Lmage - El Forum - 02-08-2013 [eluser]Musaddiq Khan[/eluser] Hi everybody, I m using codeigniter upload library for uploading images. It's working fine. But problem is that when I uploading larg file of size round about 4 MB. It does not work. I've set the configuration as shown below. Code: ini_set( 'memory_limit', '2000M' ); ... Thanks Uploading Large Lmage - El Forum - 02-08-2013 [eluser]InsiteFX[/eluser] post_max_size - Sets max size of post data allowed. This setting also affects file upload. To upload large files, this value must be larger than upload_max_filesize. Code: ini_set( 'memory_limit', '256M' ); |