Remove version from css & js files in WordPress

In this post I will show how you can remove version from CSS & JS files in WordPress. Almost all css and js files in the WordPress have the WordPress version number appended after the file names or using a query string. Having query string with the URL browser does not cache the file because the file is treated as…

Create archive or zip using PHP

In this example, I will explain how to create a zip file of multiple files using PHP. Create below function to create a zip file from multiple files.

Working With RESTful Services in Codeigniter 3 – DELETE Example

Introduction In this tutorial I am going to show you how you can work with RESTful or REST webservice in Codeigniter framework. I am going to use HTTP method DELETE to delete resource from server side. Related Posts: Working with RESTful services in Codeigniter – GET example Working with RESTful services in Codeigniter – POST example Working with RESTful services…

Working With RESTful Services in Codeigniter 3 – PUT Example

Introduction In the tutorial, working with restful services in codeigniter – put example, I am going to show you how you can work with RESTful or REST webservice in Codeigniter framework. The HTTP PUT method is used to update the existing record in server side. Related Posts: Working with RESTful services in Codeigniter – POST example Codeigniter GET example with…

Working With RESTful Services In Codeigniter 3 – POST Example

Introduction In this tutorial I am going to show you how you can work with RESTful or REST webservice in Codeigniter framework. I will build a REST API for HTTP POST method. The HTTP POST method is used to create a new resource in server side. Related Posts: Working with RESTful services in Codeigniter – PUT example Codeigniter GET example…

Working With RESTful Services in Codeigniter 3 – GET Example

Introduction In this tutorial I am going to show you how you can work with RESTful or REST webservice in Codeigniter framework. I am going to use HTTP method GET to fetch data from database server. Related Posts: Working with RESTful services in Codeigniter – POST example Working with RESTful services in Codeigniter – PUT example Working with RESTful services…

Setup RESTful Service With Codeigniter 3

Introduction This tutorial will show you how to setup RESTful service with CodeIgniter so that we can create and deploy REST services with CodeIgniter applications. Codeigniter Rest Server is a fully RESTful server implementation for CodeIgniter using one library, one config file and one controller.

Setup Codeigniter, Netbeans and XAMPP in Windows

This tutorial will show you how to configure Netbeans, Codeigniter, XAMPP together in Windows environment so that it would be easier environment to write PHP code on Netbeans editor without thinking much about the programming syntax error which is occurred most of the time when we write code in a notepad. It would be easier to run the Codeigniter application…

PHP File Upload Example

Introduction PHP file upload example will show you how to upload a single file using PHP programming language. In this example the file is selected using the browse button and file is uploaded to the uploads directory. Make sure the uploads directory exists under your root project directory. PHP script stores the file into the defined location and returns response…

PHP asort() example

This tutorial shows an example how to sort an array using asort() function available in PHP. The asort() function sorts an array by maintaining the index association. This function sorts an array such that array indices maintain their correlation with the array elements they are associated with. This is used mainly when sorting associative arrays where the actual element order…