Password Protect Website using .htaccess file
htaccess password protection can be very useful sometimes when we want only authorized users to access a certain webpage. This can be achieved easily by creating two files : .htaccess .htpassword You can create the username password file from this link :…
Install Laravel on Ubuntu with 4 simple steps
If you are looking to start your journey of Laravel, then this article is for you. You will learn to install Laravel one of the most popular PHP Framework currenly in Ubuntu Operating System. The OS I am using is Ubuntu 18.04 and we will be installing…
Use Multiple Google Maps in same webpage
In this article, we will be learning to use multiple Google Maps in a single webpage. We will be taking the help of Google Maps JavaScript API in order to load multiple instances of google maps in our page. HTML For displaying multiple maps, you need…
Simple Responsive YouTube Video Embeds
YouTube has become very popular among all user groups in recent times. Be it informative, factual videos or the comedy and entertainment ones, we all are a huge fan of YouTube. With the increasing popularity of YouTube videos, we often find ourselves…
Responsive FileManager as Standalone File Manager
In this post, we are going to implement Responsive FileManager as a standalone filemanager. We will be using JQuery along with Fancybox JavaScript and CSS for this. Source Code : <link rel="stylesheet"…
Show Sticky Footer when User Scroll Down using CSS and JavaScript
In this post, we are going to design a sticky footer section which can be used as an Advertisement Slot. The sticky footer will be visible only when user scrolls down. Once closed it wont be displayed until next reload. CSS : <style>…
Play Musical Notes with JavaScript
In music, a note is a symbol denoting a musical sound. In English usage a note is also the sound itself. Notes can represent the pitch and duration of a sound in musical notation. How cool it would be if we could play musical notes using JavaScript ? In…
Free JSON API for News and Blog Articles
In this article, we are going to implement a Free News API provided by NewsAPI.org. Please provide credit to https://newsapi.org/ while using the API for non commercial use. In case you are using for commercial purpose, check their pricing. Source Code :…
Calculate Distance between two location with Latitude Longitude using PHP
In this article, we will be writing a simple PHP function to calculate distance between two points with Latitude and Longitude. The distance is then converted into various units including miles, feet, yards, kilometers and meters. <h2…
Register free domain name and Get Free hosting
In this post, we will learn to register a domain for free and we will host a site in that domain that too for free. I am trying to host letstrythis.tk. We need to sign up for an account in freenom.com which is completely free of cost. We will be hosting…
Generate Random String using JavaScript
In this post, we will be writing a simple JavaScript function that will generate random string of desired length. We can generate a random string with fixed set of characters using simple match and string functions. <script> function…
Generate Random String using PHP
In this post, we will be writing a simple PHP function that will generate random string of desired length. We can generate a random string with fixed set of characters using simple string functions like substr, str_shuffle and str_repeat.…
Find and Replace Text using JavaScript
In this post, we will be writing a simple JavaScript function to find and replace certain text in a HTML element. Source Code : <div id="haystack"> By 55,000 years ago, the first modern humans, or Homo sapiens, had arrived on the Indian…
Animated Typing with TypeIt.js Jquery Plugin
TypeIt is the most versatile JavaScript typewriter effect utility on the planet. With a straightforward configuration, it allows you to type single or multiple strings that break lines, delete & replace each other, and it even handles strings that…
Generate QR Code using PHP Library
This library helps us to generate QR codes very easily. The library makes use of bacon/bacon-qr-code to generate the matrix and khanamiryan/qrcode-detector-decoder for validating generated QR codes. Further extended with Twig extensions, generation…