Deny Access to Files, Folders through htaccess – Deny from All

How to deny access to files, folders through htaccess file. In this tutorial, We are going to learn .htaccess directives through which we can deny direct access to files and folders.

How to Deny Access to Files, Folders through htaccess

How to Deny Access to Files, Folders through htaccess

What is .htaccess File?

.htaccess is a configuration file used by a web server (Apache). The full form of htaccess is Hypertext Access. Htaccess files are used to override server global configuration for the directory level in which you place this file.

Recursion vs Iteration – Difference between Recursion and Iteration

Recursion vs Iteration. What’s the difference between recursion and iteration. Recursion and Iteration both are two different programming approaches. In some cases recursion is best suited and in some other cases iterative way of programming is good.

In programming, repeated set of instructions can be handled either by using recursive or iterative approach in your code. So which approach you choose and why. Let’s talk about recursion vs iteration.

Implementation of Binary Search using Recursion.

htaccess Tutorial

In this htaccess tutorial series, you will learn about htaccess configuration and it’s usage.

htaccess Tutorial

htaccess refers to Hypertext Access. It is a directory level configuration file, used by Apache Web Server.  htaccess file contains set of directives, which is read by Apache web server and apply to the directory on which this file is placed.

PHP Traits Explanation with Example

PHP Traits

PHP Traits

PHP 5.4 introduces the concept of traits. In PHP 5.4 version several new features was introduced, one such feature was PHP traits.

PHP traits help us to minimize code duplication in our codebase. Until the concept of traits, PHP uses classical inheritance model in which one class can inherit only one class. But sometimes, it is beneficial to inherit from multiple classes to avoid code duplication. To solve this problem, PHP community introduces the concept of traits.

How to Install PHP 7 on Ubuntu

PHP 7 , the latest version of PHP was already released. It was released on December 3rd, 2015. PHP 7 comes with a number of new features, and the most amazing feature is  speed. PHP 7 provides an incredible performance boost to your web applications.

Here is the benchmark of PHP 7. PHP 7 benchmark.

In this tutorial, you’ll learn how to install PHP 7 on Ubuntu.

How to Install PHP, MySql, Apache in Ubuntu

How to Access Localhost from Anywhere using Any Device

How to access localhost from anywhere using any device.

How to Access Localhost from Anywhere

How many times, you have been working on an application (or an app) and you have designed and completed your application nicely. You have set up everything very nicely on your local system. Now you want to show this work to your client, who is sitting on a remote location.  Also, you want to test this application on a different device ( such as mobile, tablets etc). To do these things, either you have to host your application on a public server, or you can use any service which allows to access localhost from anywhere.