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 can be stored in a file temporarily so... 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 extension and run that HTML file on server... 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, it is used as a network address for... 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 WebP, webmasters and web developers can create smaller,... 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 add the link to the copied content.  ... 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 and verify the transfer of funds, operating independently... 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 5px; color:#fff; border-radius: 5px; width:70px; text-align: center; margin-bottom:... Read more

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 Get Weather Report and Forecast Using PHP API... Read more

Using Graph API to get Facebook Share Count

Using Graph API to get Facebook Share Count
In this post, we are going to learn how to fetch Facebook share count using Facebook Graph API. According to Facebook, Graph API is the primary way for apps to read and write to the Facebook social graph. All Facebook’s... Read more

Sending structured message and keyboard menu in Viber chat bot

In this post, we will develop a Viber chat bot similar to that of chat bot of LetzCricket. Finding Chat bot First of all, we are going to find how the chat bot of LetzCricket looks like. For this, we... Read more

Build a complete viber chat bot using php

Chat Bot is very popular these days. With Chat Bot, you can connect to your customers with Deeper Interactions and grow your business. In this post, I am going to share how to develop Viber Chat Bot in 6 simple... Read more

Backup/Restore MySQL database using PHP

MySQL is an open-source relational database management system (RDBMS). MySQL is a central component of the LAMP open-source web application software stack. LAMP is an acronym for “Linux, Apache, MySQL, Perl/PHP/Python”. In current scenario, databases constitutes a major backbone in... Read more

Instagram API to fetch User Profile, Followers, Following, Posts

Simple Instagram API that fetches User Profile, Followers, Following, Images, Posts, Likes , Shares using JavaScript #Instagram #API #InstaAPI Full Source Code : <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/css/bootstrap.min.css" /> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> <style> .posts{ display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; flex-wrap:... Read more

Face Detection using pure PHP: No OpenCV required

Face Detection using pure PHP: No OpenCV required
In this post, we will be implementing a Face Detection library in PHP. We don’t need any libraries like OpenCV for this Face Detection to work. Use of already trained data will be used to detect face in an image.... Read more

Access WebCam using JavaScript [Updated]

Access WebCam using JavsScript
In this post, we are going to learn to access WebCam using Javascript. We will use getUserMedia to access WebCam and show the video in our webpage. Full Source Code to Access WebCam using JavaScript <center style="margin-top:4%;"> <h1 style="margin-bottom:10px;">Access WebCam... Read more