CodeIgniter Forums
How do you upload multiple files with jquery? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: How do you upload multiple files with jquery? (/showthread.php?tid=6574)



How do you upload multiple files with jquery? - El Forum - 03-04-2008

[eluser]otherjohn[/eluser]
Hi all,
I am implementing jquery's multiple file upload pluggin http://www.fyneworks.com/jquery/multiple-file-upload/
but am not sure how to do it with the file upload class, is this possible with this class or do I need to make a custom function?
John


How do you upload multiple files with jquery? - El Forum - 10-28-2008

[eluser]neryo[/eluser]
hi! did you have find a solution? i have the same problem with jQuery Multiple File Upload Plugin...

when i upload the files in my controller the $_FILES array contains these informations:

Array ( [Userfile] => Array ( [name] => Array ( [0] => Young-Neryo.jpg [1] => P1010114.JPG [2] => fuck.jpg [3] => ) [type] => Array ( [0] => image/jpeg [1] => image/jpeg [2] => image/jpeg [3] => ) [tmp_name] => Array ( [0] => D:\xampp\tmp\phpD207.tmp [1] => D:\xampp\tmp\phpD218.tmp [2] => D:\xampp\tmp\phpD219.tmp [3] => )

it's not formatted very well.. for sure i have to change something in the array, for using these data in codeigniter's upload library..

any idea?

thanks,
bye


How do you upload multiple files with jquery? - El Forum - 06-16-2009

[eluser]Christophe Sautot[/eluser]
Here is a blog post with example code from a guy who implemented the jquery multiple file upload library with CodeIgniter. You might find this useful to look at.

http://www.mitesdesign.com/blog/open-source/multi-upload-jquery-code-igniter


How do you upload multiple files with jquery? - El Forum - 11-26-2009

[eluser]fjhuerte[/eluser]
thanks for this csautot!
worked for me!