Codeigniter Image Watermark

You can easily watermark images in CodeIgniter by using CI’s image manipulation class. In CI Watermarking is only available using the GD/GD2 library. CI’s image manipulation library allows us to do image watermark […]

How to use PHPExcel with CodeIgniter?

PHPExcel is a pure PHP library for reading and writing spreadsheet files and CodeIgniter is one of the well known PHP MVC framework. Here i am gonna show you how to Integrate PHPEXcel library in CodeIgniter. Setp1 : Download […]

How to connect to MySQL database in CodeIgniter?

Yesterday someone asked me to make a tutorial about Connecting to Database in CodeIgniter Framework. In order to make connection to database in Ci , we need to do only few configuration changes in your database.php config […]

Php CodeIgniter Server Side Form Validation Example

Today we are going to learn more about server side validation using php codeigniter framework.Follow the below steps to do the server side validations. Server side validation is most secure way than client side validation, […]

File Upload using dropzone.js and Codeigniter

In this post i will show you , how to upload files with drag and drop interface with dropzone.js in your Codeigniter framework applications. Dropzone.js comes with nice CSS and Javascript that make it a breeze to work […]

How to Prevent SQL injection in Codeigniter?

In the web application security, SQL injections are place a very important role. To prevent SQL injections in PHP, we usually use mysql_real_escape_string() function along with other techniques. In codeIgniter ,we no need […]

Custom validation Rules in codeigniter ?

CodeIgniter From Validation Library is Pretty Simple to Use and very powerful. We can define our own Custom Validation Rules in CodeIgniter in two different approaches. 1. By Using Callbacks. 2. By Extend CodeIgniter’s […]

Multiple Database Connection in CodeIgniter

You Can Connect to Multiple Database in the same Codeigniter application easily. To use Multiple Database Connections you have to crate multiple Configurations Arrays. By default CI had following line of code to connect […]

Why Codeigniter removes inline style from html input ?

Recently i ran into to the situation to set inline styles to element on the page using html inputs,project is developed using CodeIgniter framework , for security reasons I had enabled XSS filtering Globally in application/config/config.php […]

Captcha in CodeIgniter?

I have looked at Codeigniter captcha helper but the example was not clear enough so i am writing this post codeigniter captcha helper needs GD library installed on your server and you must create a folder and name it captcha […]

Pagination with CodeIgniter ?

In this tutorial, I’ll use CodeIgniter’s pagination library to show you how you can create a paginated list of results from a MySQL database. Along the way, you’ll also see how to fix a problem with the pagination […]