Tag: Codeigniter Multiple File Upload

File upload example in Codeigniter 2.1.4. There is file upload class, in Codeigniter, which permits you to upload the file or files. This class also permits you to set various preferences such as destination where the file will be uploaded, restriction on file types, restriction on file size, whether a file name should be encrypted or not, maximum length of the file name etc.

Please feel free to contact if you have any query.

Below are the simple few processes for uploading a file

A form with input type file is required so that user can select the file using the browse button

When the form is submitted, the file is validated to make sure that the file is uploaded against the preferences you set

Once the file is uploaded successfully to the specified destination, the success message is shown