Multiple file upload

#6
[eluser]pickupman[/eluser]
You should be using syntax similar to the user guide
Code:
if ( ! $this->upload->do_upload())
        {
            $error = array('error' => $this->upload->display_errors());
            
            print_r($error);
        }    
        else
        {
            $data = array('upload_data' => $this->upload->data());
            
            $this->load->view('upload_success', $data);
        }

That way you know whether or not the file has been uploaded or not. It looks like you are on the right track.


Messages In This Thread
Multiple file upload - by El Forum - 10-19-2010, 05:38 PM
Multiple file upload - by El Forum - 10-19-2010, 05:47 PM
Multiple file upload - by El Forum - 10-19-2010, 06:23 PM
Multiple file upload - by El Forum - 10-19-2010, 07:09 PM
Multiple file upload - by El Forum - 10-19-2010, 07:25 PM
Multiple file upload - by El Forum - 10-20-2010, 07:11 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.