Tutorialsplane

Codeigniter File Uploading Class Library


Codeigniter File Uploading Class Library – This library provides various functions that are used to give permission of files to be uploaded. We can set many preferences, like type and size of files. $this->load->library(‘upload’); is used to load the library. This library is also equip for check file type and file size. Here in this tutorial, we are going to explain how to use file uploading class library.


Codeigniter file uploading class library | Load | Example

Let us understand how file uploading class works in codeigniter with examples.

Load file uploading class library

First load file uploading library to use its functions, this library can be loaded simply as below-

How to load file uploading class library:

$this->load->library('upload');

class referneces:-

There are following reference in file uploading class.

Models

Connect Database

Helpers

Libraries

Helper Reference

Library Reference

Database Reference