Multiple file upload, can't upload more than 2 - 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: Multiple file upload, can't upload more than 2 (/showthread.php?tid=55158) |
Multiple file upload, can't upload more than 2 - El Forum - 10-12-2012 [eluser]Unknown[/eluser] View Code: <input name="userfile[]" id="userfile" type="file" multiple="" /> Code: function doupload() { If more than 2 images are selected,produces error: Undefined index:userfile. Multiple file upload, can't upload more than 2 - El Forum - 10-12-2012 [eluser]Unknown[/eluser] Solved: It was because i was uploading 10mb photos, once i selected small sized ones, it worked perfectly. |