file-uploading-codeigniter

File Uploading In Codeigniter

File uploading is common functionality in every web applications. Generally any web application needs this concept. In this post explains how to deal with file uploading in CodeIgniter framework. For upload any file like images, pdf’s or any other type of files, we need to proper validate. In this example we use client side validations using jQuery and server side validation using CodeIgniter’s form validation library.

Table :

In Controller :

In Model :

In View :