How to restrict direct access of files and folders through htaccess. In this tutorial i’ll show some htaccess directives (Deny from All) through you can disallow direct access of files and folders.
What is htaccess File
.htaccess is a configuration file used by web server (Apache). The fullform of htaccess is Hypertext Access. They are used to override server global configuration for the directory.
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.
I got following fatal error in php can’t use method return value in write context. When this fatal error comes i didn’t understand what’s wrong with my code, as everything looks fine in my code editor. So i started debugging what’s the root cause for this error.
In this htaccess tutorial series, you will learn about htaccess configuration and it’s usage.
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.
How to create drag and drop multiple file upload in PHP using DropzoneJS. In this tutorial you’ll learn about how to build multiple file upload feature using DropzoneJs.
PHP Composer is a dependency manager that allows you to update,download the package dependency. It will pull the required library and dependencies and manage them in one place. The concept of composer is similar to npm in node.js and gem in Ruby.
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 in 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 use any service which allows to access localhost from anywhere.
How to install composer on Mac OS.
What is Composer ?
Composer is a cross-platform dependency manager that allows you to manage package dependency in your project.
In my previous article i explained how to manage package dependency in PHP through composer.