CodeIgniter Forums

Full Version: Multiple File uploading issue
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

I am trying to use the multiple file upload library of codeigniter.The files are uploading fine but when i use validation on these file it does not give me the required results.Here is my code.

        $config['upload_path'] = './news/';
        $config['allowed_types'] = 'doc|docx|pdf';
        $config['max_size'] = '2048';
        $config['remove_spaces']= TRUE;
        $this->load->library('upload',$config);//i think the issue is here
        $files = $this->multi_upload->go_upload();
            $data['page_title']="Add news";
        else {
Please help.Thanks in advance