codeigniter Posts

File Download in Code Igniter

In CodeIgniter, we can easily make files for download. There is a helper class called download, which we are using for downloading files from server. We just need a controller function and a view file. Copy and modify the below code in controller.     In view file:     Now you can download files