I just started learning Codeigniter (CI) and I wanted to import CSV file to the database. 

I followed the <https://codeigniter.com/user_guide/libraries/file_uploading.html>
but still confused.

How to capture the file from the upload form?

On PHP native, the code is 

```
$_FILES['file']['tmp_name']

```

Please help. Thank you.