Tag : CodeIgniter 18 Posts

A Simple Ajax Driven Editable Table in CodeIgniter

A Simple Ajax Driven Editable Table in CodeIgniter

The contenteditable attribute is one of the new most helpful addition in HTML5. Today we are utilising the contenteditable attribute in HTML5 to build a simple ajax driven editable table in CodeIgniter. For sake of simplicity, the table contains just two columns in which one of which is ID and other one is Title of Blog Posts and when you doub...

Read More

How to Prevent Shell Attack in Image File Upload System in PHP

How to Prevent Shell Attack in Image File Upload System in PHP

The Command Injection Vulnerabilities are one of the most common types of vulnerabilities in our PHP Web Applications. The main purpose of the command injection attack or shell attacks is to inject and execute commands specified by the attacker by uploading malicious shells like C99 in our websites. The attacker mainly focused on ins...

Read More

DataTables Server-side Processing with Custom Parameters in CodeIgniter

DataTables Server-side Processing with Custom Parameters in CodeIgniter

In the previous tutorial, I show the easiest way to implement DataTables Server-side Processing in CodeIgniter and this tutorial is an improved and more standardised generic version of that tutorial. In this tutorial, I will show how to pass custom parameters along with Datatables ajax request and how to standardise the model to make it m...

Read More

DataTables Server-side Processing in CodeIgniter

DataTables Server-side Processing in CodeIgniter

In this tutorial, I will show you the easiest way to implement DataTables jQuery Plugin with remote server side processing in Codeigniter. Here I will show you how to fetch data from remote MySQL database through ajax in Codeigniter. For those who don't here about Datatables, DataTables is a table enhancing plug-in for the jQuery Javascript library...

Read More

Create a Instagram User Image Fetcher in PHP

Create a Instagram User Image Fetcher in PHP

Today I will show you how to create a simple Instagram user image fetcher in PHP by using Instagram REST API. This application will use  Instagram API to fetch recent 20 photos of public users with the similar name. It also displays likes of each photo. Please note that you can only access photos of users who make their profile public using th...

Read More