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.

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

Find Factorial of a Number in PHP using For Loop & Recursion

How to calculate factorial of a number in PHP. In this tutorial, I am going to discuss factorial program in PHP using recursion as well as iterative approach.

Before solving this problem let’s understand what is factorial?

What is Factorial?

Factorial of a non-negative integer n (n!), is the product of all positive integers less than or equal to n.

For example –

5! = 5 * 4 * 3 * 2 * 1 = 120

4! = 4 * 3 * 2 * 1 = 24