Prevent file access URL – htaccess

In this tutorial, we will teach you how you can prevent file access from URL using htaccess. Laravel is one of the most secured PHP…

Prevent form submit event from reloading the page

In this article, we are going to discuss 2 options that how you can prevent your HTML form submit event from reloading the page. Normally,…

Password protect ZIP file in Mac OS X

In this article, we will show you how you can password protect your zip file in Mac OS X. To create a ZIP file and…

Socket IO emit an event to specific users – Node JS

Introduction Sockets are used for real-time communication. They are now being used in chat apps, team collaboration tools, and many more. Socket IO emit events…

Prevent file access from URL – PHP htaccess

When developing a web application, it is very important for you to prevent file access from URL for the users. Because someone might try to…

Detect multiple tabs opened at the same time – Javascript

If you have used WhatsApp Web, you may encounter a situation where if you open the web.whatsapp.com in multiple tabs in the same browser, you…

Prevent browser cache from CSS, JS, and image files

In this article, I am going to teach you, how you can prevent the browser cache from keep displaying the old content. We will ask…

Custom sort associative array – PHP

Suppose you have an associative array in PHP with key-value pair. If you loop through it, all the values will be displayed in the order…

How to generate SSH keys from cPanel and use it in Terminal

Following are the steps to generate SSH keys from cPanel and use them in your Command Prompt or Terminal: Open your cPanel home page. Goto…

What to do if you accidentally delete your files during iCloud upload – Mac

We all make mistakes. Sometimes, we do not know what is going to happen because of our lack of knowledge. You may try to upload…

Please disable your adblocker or whitelist this site!