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…
Disable Landscape View in Mobile View Using JavaScript and CSS
Page Orientation According to Wikipedia, Page orientation is the way in which a rectangular page is oriented for normal viewing. The two most common types of orientation are portrait and landscape. The term “portrait orientation” comes…
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 to enhance your business to the targeted audience. Source Code…
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 that every time server receives a…
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 side thus executing the PHP code written on it.…
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 most…
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,…
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. $(document).on('copy',…
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 of classifications. In this article, we are going…
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,…
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;…
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 <?php $cache_file = 'data.json';…
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 SDKs and products interact…
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 need to search for a public account named LetzCricket…
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 steps using PHP. 1. Create Public Account…