CI3: Multiple File Upload |
Hi Guys,
Basing from http://www.codeigniter.com/userguide3/li...ading.html I'm trying to implement method ('process_upload'), that would upload multiple files. the idea is basically from the tutorial, only i added some loop just in case of multiple input. PHP Code: public function process_upload( $input_field_name, $config = array() ) { Then call the method ('process_upload') in other method ('set_upload') like: PHP Code: public function set_upload() { Thanks, in advanced.
You must have multiple in your upload input like this...
<input type="file" name="userfile" size="20" multiple>
Romanian CodeIgniter Team :: Translations :: Comunity :: Developers
http://www.codeigniter.com.ro
If you have the time, please do look at my latest tutorial about uploading multiple files: http://avenir.ro/codeigniter-tutorials/u...deigniter/
Website: http://avenir.ro
|
Welcome Guest, Not a member yet? Register Sign In |