QR Code Reader using PHP Library

In this article, we are going through a PHP library to detect and decode QR-codes. Installing QR Code Reader/Decoder PHP Library The recommended method of installing this library is via Composer. We... Read more »

Convert Number into words using PHP

In this article, we are going to learn to convert number into words using PHP. We have a PHP function which simply returns the word for the corresponding numeric value passed to... Read more »

Prevent Too Many Request From a Client using PHP

In certain scenarios, we might need to make sure that a client is not allowed to request a page for multiple number of times within a period of time. The following sample... Read more »

Extract all Links from a Webpage using PHP

The following is a simple PHP script to extract all links from a webpage : <h1 style="text-align:center;">Extract All Links from a Webpage using PHP</h1> <hr> <?php function getAllLinks($url){ $urlData = file_get_contents($url); $dom... Read more »

Generate User Avatar with Name using PHP

In computing, an avatar (also known as a profile picture or userpic) is a graphical representation of a user or the user’s character or persona. It may take either a two-dimensional form... Read more »

Social Media Link Preview using PHP

Social Medias today are one of the major source of traffic to web applications and websites. URL sharing in social media platforms like Facebook, Twitter, Instagram, Viber and others are used extensively... Read more »

Free Sending Emails with PHP

Email has become one of the integral part of our daily process in recent years. Especially to business or corporate houses, emails are widely used for communication and marketing purposes. In this... Read more »

Get Client IP Address using PHP

The simplest way to get the IP address of client with PHP is using the $_SERVER[‘REMOTE_ADDR’] or $_SERVER[‘REMOTE_HOST’] variables. However, sometimes this does not return the correct IP address of the visitor,... Read more »

Build a simple Calendar in Website using PHP (With Source Code)

A Calendar is a chart or series of pages showing the days, weeks, and months of a particular year, or giving particular seasonal information. In this article, we will be learning to... Read more »

Upload Files in Chunk using PHP and JavaScript

Often, we need users to upload files via a webpage. There’s not much challenge if the file is a simple text file or a small image file. The real challenge arises when... Read more »