How to Zip/Unzip files using PHP

Compressing files while transferring from one location to other is always a good option. In case of web experience, compressing files means reducing the file size by nice margin resulting in low... Read more »

Hangman Game in PHP : Complete Source Code

Hangman is a paper and pencil guessing game for two or more players. One player thinks of a word, phrase or sentence and the other(s) tries to guess it by suggesting letters... Read more »

How to run a Linux command in background ?

Running a command in the background can be useful when the command will run for a long time and does not need supervision. It leaves the screen free so you can use... Read more »

Multiple File Upload with HTML and PHP

We might have been in situation where we need to upload multiple files from a form. If you are in same situation, then you are in right place for the solution. In... Read more »

Responsive FileManager as Standalone File Manager

In this post, we are going to implement Responsive FileManager as a standalone filemanager. We will be using JQuery along with Fancybox JavaScript and CSS for this. Source Code : <link rel="stylesheet"... Read more »

Free JSON API for News and Blog Articles

In this article, we are going to implement a Free News API provided by Please provide credit to while using the API for non commercial use. In case you are... Read more »

Calculate Distance between two location with Latitude Longitude using PHP

In this article, we will be writing a simple PHP function to calculate distance between two points with Latitude and Longitude. The distance is then converted into various units including miles, feet,... Read more »

Generate Random String using PHP

In this post, we will be writing a simple PHP function that will generate random string of desired length. We can generate a random string with fixed set of characters using simple... Read more »

Generate QR Code using PHP Library

This library helps us to generate QR codes very easily. The library makes use of bacon/bacon-qr-code to generate the matrix and khanamiryan/qrcode-detector-decoder for validating generated QR codes. Further extended with Twig extensions,... Read more »

Format Numbers in PHP ( like 1.2K, 3.1M, 2.5B )

We normally see huge number in formats like 1.2K, 3.1M and 2.5B. Its not practicable to write large numbers in full numbers like 1200000 or 2200000000. In this post, we will be... Read more »