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.
MongoDB is an open-source leading NoSql database. In my previous posts , I explain the MongoDB terminology, installation process,creating and quering DB. In this article i will explain how to install and connect MongoDB with PHP.
Let’s quickly go through the popular terminology used in MongoDB
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
In this tutorial i will demostrate how to check/uncheck multiple checkboxes using Jquery. Multiple check/uncheck select box feature is used in many applications. If you are gmail user then probably you have seen this feature for selecting multiple mails.
In my previous articles, i already discussed what is .htaccess and their applications in web development. In this short tip, i am going to tell you how to secure you folders through .htaccess File.
How to remove spaces from string in PHP. In this tutorial i’ll explain how to remove spaces from string using regex as well as using in-built function in PHP.
If you know regex then it’s good otherwise you can refer my previous tutorial on Regular expression.
How to set cookies for multiple subdomains. In this tutorial, You are going to learn how to set and read a cookie from multiple subdomains.
HTTP is a stateless protocol. Stateless means client request a resource a server respond to that request remembering the request later. So how website knows whether you are a unique user or you have visited previously. How they remember your previous browsing history, language preference etc.
What is Cross Site Scripting (XSS). How to prevent this vulnerability in code.
While installing express through npm package, i learnt that my Node.js version is out of date. So when i am installing express it gives error.
sudo npm install express -g