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.

Subscribe Our Tutorials

Get Latest Updates on Facebook

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.

Binary Search using Recursion in C

Minimum Time to Cross Bridge by Four People using Torch

Four people need to cross a bridge at night and they have one torch. The bridge can handle the load of only two people at a time. Person A can take 10 minutes, B takes 7 minutes, C takes 2 minutes and D takes 1 minute to cross the bridge. When two people cross the bridge together, they must move at the slower person’s pace. What’s the minimum time taken by four of them to cross the bridge.

How to Increase File Size Import Limit in phpMyAdmin

How to increase file size import limit in phpMyAdmin. This is the common question asked by most of the people that, I get an error message when I am importing a file more than 2MB using phpMyAdmin.

I assume you have LAMP and phpMyAdmin installed on your system and your importing MySql database.

In your default setting, you’ll get following error message when you try to upload  a file more than 2MB.

Error : No data was received to import. Either no file name was submitted, or the file size exceeded the maximum size permitted by your PHP configuration…

How to Remove WWW From URL through htaccess

How to remove www from url through htaccess. Suppose, if a user type (example is the name of your domain) in their browser, you can automatically redirect them to

For website SEO (Search Engine Optimization) purpose, it is necessary that your blog or website either respond to or, but not both. Otherwise, search engines see duplicate content on the www and non-www domains, and may downgrade the site ranking.

In my previous posts, I have explained htaccess file and their importance. In this post, We will learn how to remove www from url through htaccess.

How to Install MySql Workbench on Ubuntu

How to install MySql workbench on Ubuntu.

MySql is one of the most used databases worldwide. To manage MySql database there are a lot of open source GUI tools are available. Some of the popular GUI based tools is  MySql workbench, phpMyAdmin etc. In this tutorial, you’ll learn how to install MySql workbench on Ubuntu.

MySQL Workbench

MySQL Workbench is a GUI-based visual tool. Workbench is widely used by developers,  DBAs for data modeling, SQL development, and comprehensive administration tools for server configuration, user administration, backup, and much more. This tool is available for Windows, Linux and Mac OS operating system.

In this article, I’ll show how you can install MySql workbench on Ubuntu.

How to Install and Remove phpMyAdmin on Ubuntu.

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.