PHP Source Code : Complete Facebook Chat Bot using PHP

Facebook Page has now become a vital part for any business. With increasing dependency on Facebook for promoting products or services, Facebook Messenger Chat Bot can prove to be a new tool... Read more »

Website Performance Optimization : Page Caching

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... Read more »

How to execute PHP code from HTML File ???

The following post shows a cool way to execute PHP code from files with HTML extension with the help of .htaccess file. We can write PHP code in a file with HTML... Read more »

How to get MAC Address of all Devices in my Network using PHP ?

MAC Address According to Wikipedia, a media access control address (MAC address) of a device is a unique identifier assigned to a network interface controller (NIC). For communications within a network segment,... Read more »

Convert JPG/PNG Image to WEBP Using PHP

In this post, we are going to learn how to convert JPG/PNG images to WEBP images. WebP is a modern image format that provides superior lossless and lossy compression for images on the web. Using... Read more »

Add Source Link or Copyright Note When Someone Copies Text from your website

The following post shows a simple JavaScript code to add link for reference when someone copies text from your website. You can just copy paste the following code to your webpage and... Read more »

Client Server Communication : HTTP, Polling, SSE, Websockets and Comets

A server is anything that provides service while a client is the one that receives the service. Based on a number of approaches and techniques, client-server communication can be classified into variety... Read more »

Cryptocurrency : Get Current Bitcoin Price using PHP API

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... Read more »
On/Off Toggle Switch using CSS and JQuery

On/Off Toggle Switch using CSS and JQuery

In this post, we are going to design an On/Off Toggle Switch using HTML, CSS and JQuery.   Full Source Code for On/Off Toggle Switch : <style type="text/css"> .onoff{ height: 20px; padding:2px... Read more »
PHP API : Get Weather Report and Forecast

PHP API : Get Weather Report and Forecast

In this post, we are going to use PHP API to get current weather report at a location along with 5 days weather prediction. Click Here for Demo Full Source Code to... Read more »