This tutorial will show you how to generate pagination using Codeigniter. pagination is recommended when you have lots of data coming from database or external sources and you want to show data which do not fit into a single page because it looks ugly and irritating to scroll down the page at bottom. CodeIgniter’s Pagination…

Posted in Codeigniter

Codeigniter Pagination Example

Introduction This tutorial will show you how to prevent SQL injection in Codeigniter application. It is very important to escape the variable you pass to the database query because, in web application security, SQL injections play an important role. SQL injection is: a malicious code injection technique that may destroy your database. one of the…

Posted in Codeigniter MySQL

Prevent SQL Injection in Codeigniter

Introduction This tutorial will show you how to upload and play video using Codeigniter. The uploaded video may or may not start playing automatically. CodeIgniter’s File Uploading Class permits files to be uploaded. You can set various preferences, restricting the type and size of the files.

Posted in Codeigniter File Upload

Upload and Play Video using Codeigniter

Introduction This tutorial will show you how to generate captcha image using Codeigniter Captcha Helper and store captcha characters into database. We have seen how to generate and use captcha in CodeIgniter earlier. The CAPTCHA Helper file contains functions that assist in creating CAPTCHA images.

Posted in Codeigniter

Adding Captcha to Database using Codeigniter

Introduction This tutorial will show you how to generate captcha image using Codeigniter Captcha Helper. We will also see how to use captcha using CodeIgniter framework. Captcha helps to prevent automatic submission of forms on the web pages. Captcha would not have been there then some users would have filled your site with spams. Here…

Posted in Codeigniter

Captcha using Codeigniter

Introduction This tutorial will show you how to upload and watermark image using Codeigniter. CodeIgniter’s File Uploading Class permits files to be uploaded. Codeigniter’s Image Library class allows us to process images, such as, crop, resize, rotate, watermark etc. You can set various preferences, restricting the type and size of the files. So here we…

Posted in Codeigniter File Upload

Upload and Watermark(Overlay) Image using Codeigniter

Introduction This tutorial will show you how to upload and watermark image using Codeigniter. CodeIgniter’s File Uploading Class permits files to be uploaded. Codeigniter’s Image Library class allows us to process images, such as, crop, resize, rotate, watermark etc. You can set various preferences, restricting the type and size of the files. So here we…

Posted in Codeigniter File Upload

Upload and Watermark(Text) Image using Codeigniter

Introduction This tutorial will show you how to upload and rotate image using Codeigniter. CodeIgniter’s File Uploading Class permits files to be uploaded. Codeigniter’s Image Library class allows us to process images, such as, crop, resize, rotate, watermark etc. You can set various preferences, restricting the type and size of the files. So here we…

Posted in Codeigniter File Upload

Upload and Rotate Image using Codeigniter

This tutorial will show you how to upload and crop image using Codeigniter. CodeIgniter’s File Uploading Class permits files to be uploaded. Codeigniter’s Image Library class allows us to process images, such as, crop, resize, rotate, watermark etc. You can set various preferences, restricting the type and size of the files. So here we will…

Posted in Codeigniter File Upload

Upload and Crop Image using Codeigniter

Introduction This tutorial will show you how to upload and resize image using Codeigniter. CodeIgniter’s File Uploading Class permits files to be uploaded. Codeigniter’s Image Library class allows us to process images, such as, crop, resize, rotate, watermark etc. You can set various preferences, restricting the type and size of the files. So here we…

Posted in Codeigniter File Upload

Upload and Resize Image using Codeigniter

Introduction This tutorial will show you an example on how to use template in Codeigniter 3. In an web application a template is recommended because there are certain regions or areas which are common to all pages and only the body portion of the page gets changed. Common areas like header, footer, left sidebar or…

Posted in Codeigniter PHP

Using Template in Codeigniter 3

Introduction This is an example on HMVC Codeigniter 3. HMVC stands for Hierarchical Model View Controller. Modular Extensions make the Codeigniter PHP framework modular. Modules are groups of independent components, typically model, controller and view, arranged in an application modules sub-directory that can be dropped into other Codeigniter applications. This allows easy distribution of independent…

Posted in Codeigniter PHP

Setup HMVC With Codeigniter 3