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

How to Deny access of Files and Folders through .htaccess File

How to Deny access of Files and Folders through .htaccess File

How to restrict direct access of files and folders through .htaccess file. In this tutorial, I’ll discuss some .htaccess directives through which you can deny direct access of files and folders.

What is .htaccess File ?

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

What is Output Buffering in PHP, It’s Advantage and Usage

What is Output Buffering

PHP sends data to your web browser as soon as it is ready – this might be line by line or in chunks. It makes your webpage slow and you have to maintain the order in which the data need to be sent. What Output buffering do is, It stores the data in buffer. It returns the data to the browser when buffer is flush. When buffer is flush then all the data is sent at once instead of chunks.

How to Store & Retrieve an Array Value in a Cookie

How to store and retrieve an array value in a cookie.  Cookies can only store string values. You cannot store an array directly into a cookie. In this article, We’ll discuss how to store and retrieve an array value from a cookie.

My previous post related to Cookies.

1. How to create, read, update and delete  a cookie in PHP

2. How to set a cookie on multiple subdomains