
$autoload = array('html', 'url', 'file', 'form') Controller ClassĬreate a controller file AjaxMultipleFileUpload.php under Now modify application/config/autoload.php file for auto-loading html, url, file, form. I may not mention the project root directory in subsequent sections but I will assume that I am creating files or folders with respect to the project root directory. I will also create a directory called uploads under project root directory, where file will be uploaded. Project DirectoryĬreate a project ditectory called codeigniter-jquery-ajax-multiple-file-upload under /htdocs. Make sure you create a folder uploads under your project root directory to store your uploaded files.


This multiple files upload tutorial example is very helpful to implement the upload functionality.

I will show you how to upload multiple files using Codeigniter, AJAX and jQuery without page refresh.
