[eluser]alexaaaaaaaaaa[/eluser]
Hi all, i have some problems with my code.
I use codeigniter latest version and i'm trying to upload multiple files
I use multifile.js ttp://code.google.com/p/jquery-multifile-plugin/ and here's my code
Code:
$config['upload_path'] = '.uploads/project_files/'; // server directory
$config['allowed_types'] = 'jpeg|jpg|png';
$config['max_size'] = '2000'; // in kb
$config['encrypt_name'] = TRUE;
$config['remove_spaces'] = TRUE;
$this->load->library('upload', $config);
$this->upload->do_upload('userfile[]');
$this->data['file'] = $this->upload->data();
but it doesn't work at all .. please help me.
Regards,
Alexa