Tag : PHP 34 Posts

Create Drag and Droppable Cards in Laravel using Vue Js

Create Drag and Droppable Cards in Laravel using Vue Js

I think some of us are familiar with drag and droppable cards system in various task management applications like Trello. Today in this tutorial I will show you how to create similar drag and droppable cards with persistent in Laravel using Vue.js. I am using a cool library in Vue.js called Vue.Draggable. The Vue.Draggable ...

Read More

Send Real Time Notification to Clients Through Pusher in PHP

Send Real Time Notification to Clients Through Pusher in PHP

Sometimes we need to send real-time notifications to our clients. But implementing it through ajax is extremely not recommended as frequent Ajax request can slow down your server and in the rear case can cause Slowloris attack in your apache server since apache server makes threads for each request. So the best and the correct way to implement the ...

Read More

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