File Upload in CodeIgniter with Input Field

In this post, I will tell you How To File upload in codeigniter with input field?
Here is the working code :

First load the upload library:

$this->load->library(‘upload’, $config);
Then upload your file

 

For more details, visit the link
https://codeigniter.com/user_guide/libraries/file_uploading.html