In this tutorial, I will show you creating a login system using CodeIgniter. To generate decent login form design we gonna use Twitter Bootstrap styles. We need a database and a table with user details so let’s import […]
How to use Twilio to send SMS with CodeIgniter
In this post, I would like to show using of Twilio library within your CodeIgniter 3 project. Twilio is cloud communications platform for building SMS, Voice & Messaging applications. Here are the steps to send SMS […]
How to insert data into database with CodeIgniter
In this post, I will show inserting data into database table using CodeIgniter. We gonna use CodeIgniter Active Records Pattern. This pattern allows information to be retrieved, inserted, and updated in your database with […]
How to Enable CSRF (Cross Site Request Forgery) in CodeIgniter
In this post, I will show you enabling CSRF token in your CodeIgniter application. To enable CSRF (Cross Site Request Forgery) protection in CodeIgniter open application/config/config.php file change $config[‘csrf_protection’] […]
Get CI’s object instance using get_instance() method
In this post, I will show you how you can access the CI’s instance object within your custom classes. You can utilize all of CodeIgniter’s native resources using $this instance. But $this instance only works […]
How to create custom helper in CodeIgniter
In this tutorial, I would like to show creating custom helper in your CodeIgniter application. Helper functions are used to avoid repeated code in your controllers’and views, it encourages to follow good practice […]
How to generate Excel using PhpSpreadsheet in CodeIgniter
In this post, I would like to show using of PhpSpreadsheet library within your CodeIgniter 3 project. PhpSpreadsheet is a pure PHP library for reading and writing spreadsheet files. Here is my another post, you might be […]
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 […]