[eluser]mci[/eluser]
Hi
I'm new to CI and I have the following code in my controller to list the files in my view.
Code:
$data['files'] = directory_map('./user_data/');
$this->load->view('files', $data);
Now I need size, date and path of every file.
I think the easiest way would be to use File Helper an get_file_info.
But I can't figure out how I should extend my code to pass size, date and path to my view.
Any help would be appreciated.