[eluser]Unknown[/eluser]
Hi everyone,
I've just started using CodeIgniter and I'm a little confused, so please forgive me if I'm asking anything too stupid.
Ok, so I'm using the File Uploader library and then loading a custom library that will then upload the file to a container in CloudFiles. The file uploader works; the uploader to CloudFiles works. The problem I'm having is when I try to get the name of the file from the $data array to then use as a parameter.
My code is as follows:
Code:
$data = array('upload_data' => $this->upload->data());
$this->load->library('CloudFiles');
$this->cloudfiles->uploadFile($data["file_name"]);
$this->load->view('upload_success', $data);
Any thoughts?