How to setup maintenance mode in CodeIgniter

In this post, I will show you how easy it is to setup maintenance mode in CodeIgniter using CI’s hooks. while updating your web application its always better to show meaningful maintenance message to the end users, […]

Using mPDF with CodeIgniter 3

In my previous post, I wrote a tutorial on Generating a PDF in Codeigniter using mPDF and in that tutorial I covered mPDF library manual installation steps, without composer. So in this post, I would like to use CodeIgniter […]

Cascading Dropdown List in CodeIgniter

In this post, I will show very simple and powerful approach to create cascading dropdowns in your CodeIgniter application. Cascading drop-down? A cascading dropdown list is a series of dependent dropdown list controls […]

DomPDF Library using Codeigniter 3

In this tutorial, we will discuss about how to generate PDF using DOMPDF with Codeigniter Framework version 3 and composer(PHP dependency manager). From the authors of Dompdf – Dompdf is an HTML to PDF converter. […]

how to get the CI’s base url in JavaScript

I received a tutorial request from my reader that asked me how to access CI’s base URL inside the JavaScript/external JavaScript files. Editing base URL of the project after each and every deployment is very frustrating […]

Codeigniter – Save config data in database

In this post, I would like to show you saving config data in the database in your CodeIgniter application. And I will show you , How you can get these data when you need to use in your project. To achieve this you are […]

Saving Session Data to a Database in CodeIgniter3

CodeIgniter natively support storing session in the database. You do not need to do any changes in code, just few configuration and it will work. Storing session data in the database will increase the security of the application. […]

Uploading file via FTP using CodeIgniter

We are going to discuss how to upload files to the remote server in CodeIgniter using CI’s FTP library. This library has limitations – SFTP and SSL FTP protocols are not supported, only standard FTP. CodeIgniter’s […]

PHP Variables to JavaScript Variables in CodeIgniter

Often, you’ll find yourself in situations, where you want to pass some server-side string/array/whatever to your JavaScript. Traditionally, this can be a bit of a pain – especially as your app grows. “Transform […]

CodeIgniter _remap function?

CodeIgniter permits you to override its default routing behavior through the use of the _remap() function. As you already knew the second segment of the URI typically determines with function is in the controller get called […]

How to write Sub Queries in Codeigniter Active Record ?

Codeigniter didn’t provide an option to use subqueries with active record class. So today I would like to provide simple and possible comprehensive techniques on “creating Sub Queries with Codeigniter Active Record”. […]

File Upload using Uplodify in Codeigniter?

In this Codeigniter tutorial, I will show you how to use Uplodify(HTML5 or Flash Multiple File Upload jQuery Plugin Script) in your CodeIgniter application. If you are new to uploadify feel free to read about Uploadify […]

How to retrieve data from database in CodeIgniter?

In this CodeIgniter tutorial, I will show you how to fetch data from database using model, view, controller approach. As usual, we need need to setup database connection in order to perform actions like select, insert, […]

Error reporting handling in Codeigniter

CodeIgniter default environment is development and so error reporting by default in turn on state, if you want to turn off reporting then change the environment value(in the top of the main index.php) to production or […] Protection Status