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…
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,…
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"…
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. 1. Download FaceDetection library…
Access WebCam using JavaScript [Updated]
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…
Get Website Rank using Alexa API
Alexa Internet, Inc. is an American web traffic analysis company based in San Francisco. It is a subsidiary of Amazon. collects data on Internet browsing behavior and transmits them to the Alexa website, where they are stored and analyzed. Full Source…
Minify HTML in Codeigniter using Hooks
HTML Minification is the removal of unnecessary characters and lines in HTML code. Indentation, comments, empty lines, etc. are not required while rendering in HTML. Trimming these details can save download file size not only without affecting the output…
Show toast/snackbar in a webpage using CSS and JavaScript
In this post, we will be learning to display a simple toast message or snackbar in a webpage using CSS, HTML and JavaScript. Full Source Code : <style> #snakbar{ visibility:hidden; min-width:250px; margin-left:-125px; background-color:#333;…
Moving Car Animation with Javascript and CSS
In this post, we will be going through a simple moving car animation using only Javascript and CSS. We rotate wheels with CSS and move car using JavaScript. Full Source Code : <h2>Moving Car with JavaScript and CSS</h2> <style> body{…