Author: Ritesh Ghimire

Backup/Restore MySql database using PHP

In this post, we will be backing up and restoring database easily using PHP. The basic idea is to dump database table structure and data into a SQL file for backing up. While restoring, the SQL queries dumped into the file are executed one after another.

Minify HTML in CodeIgniter using Hooks

In this article, I will show how to minify HTML output using CodeIgniter framework. By removing unnecessary characters and lines in HTML code such as indentation, comments, empty lines, etc., you can save download file size without affecting the output but also improving the performance.

PHP API for Current Bitcoin Price

According to Wikipedia, Bitcoin is a cryptocurrency, a form of electronic cash.  Cryptocurrency is basically a digital currency in which encryption techniques are used to regulate the generation of units of currency and verify the transfer of funds, operating independently of a central bank. A cryptocurrency is a digital or virtual currency designed to work

Transparent Circular Crop using PHP GD

The GD library is a graphics drawing library that provides tools for manipulating image data. We can perform various operations and manipulations with image using this powerful library. In this article, I will show how to crop an image to transparent circular image using PHP GD Library.

Easy Face Detection Using JQuery

Face detection is a computer technology being used in a variety of applications that identifies human faces in digital images. There are a number of approaches and techniques to achieve face detection. In this post, we will be dealing with one of the easiest and simplest way of detecting face in an image, video or canvas

Generate random integer between two numbers using JavaScript

Random number generation is the generation of a sequence of numbers or symbols that cannot be reasonably predicted better than by a random chance, usually through a random-number generator (RNG). Computer random number generators are important in mathematics, cryptography and gambling (on game servers). In this article, we will be generating a random integer between given

Page Caching to Improve Website Performance

A web cache is an approach for the temporary storage (caching) of web documents, such as HTML pages and images, to reduce bandwidth usage and server load. The content of a webpage can be stored in a file temporarily so that every time server receives a request, it doesn't need to process time and again.