[SOLVED] Upload 2 files with diferent configuration - 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: [SOLVED] Upload 2 files with diferent configuration (/showthread.php?tid=7495) |
[SOLVED] Upload 2 files with diferent configuration - El Forum - 04-11-2008 [eluser]Lagarto[/eluser] I'm trying to upload (using file upload library) 2 files from the same form, but each of this files have a diferent "config", i've tested this code and it seems that only take the first config/library loading. Code: $config['upload_path'] = 'public/uploaded'; Am I doing something wrong? Bug spotted? Thanks! [SOLVED] Upload 2 files with diferent configuration - El Forum - 04-11-2008 [eluser]PauloBr[/eluser] Hello! I'm not sure about this, but try initialize by this way: Code: $this->upload->initialize($config); []'s [SOLVED] Upload 2 files with diferent configuration - El Forum - 04-11-2008 [eluser]Lagarto[/eluser] That's it! Thanks |