Category Archives: PHP

PHP Global Variables

In this tutorial, we will learn about PHP Global Variables. The global variables are also known as superglobals and These these superglobal variables first time introduced in PHP 4.1.0 on 10 December 2001. A very interesting thing about these superglobal variables is these variables are always accessible. You can access them in different PHP files easily. Please check… Read More »

PHP Cookies

In this tutorial, we will learn about PHP Cookies. PHP Cookies are used to store some data on client’s machines in the form of a text file. The main motive of storing cookies on the client machine is to identify the user when user will revisit a site. Because whenever a user requests a web page to the… Read More »

PHP Sessions

In this tutorial, we will learn about PHP Sessions. PHP sessions are a way to access data among different web pages of the website. All the session variables and their values stored in a file in the temporary directory on the server. With the help of PHP sessions, we can share various kind of data among all the pages… Read More »

PHP File Handling

In this tutorial, we will learn about PHP File Handling. File Handling is really useful if you want to perform some any file-related operations in your web application such as creating a new file, opening an existing file, delete a file etc. Here is a list of file-related operations: Creating a new file Opening an existing file Reading… Read More »

PHP Form Handling

In this tutorial, we will learn about PHP Form Handling. In the last tutorial, we learned about GET and POST methods. Here this topic is totally related to our last topic. In this tutorial, we will create small example programs in which we will send data from HTML Form to webserver. In our first example program, we will… Read More »

Comments in PHP

In this tutorial we will learn about Comments in PHP.  Comments are not used to perform any function in the program but they really useful for developers. Developers can write comments with variables and functions to remember their working (purpose) in the program. One important thing to mention comments doesn’t put any impact on the execution of program.… Read More »


In this tutorial, we will learn about Get and POST in PHP. The web browser communicates with the web server by using two Http methods GET and POST. These methods are used to send information to the webserver. Here we will learn about these methods and we will learn what is the difference between these two methods. GET method: When… Read More »

Functions in PHP

In this tutorial, we will learn about Functions in PHP. The function is a block of code which perform a specific task and which we can use multiple times without writing it again and again. For example, you want to perform some mathematical task in your code several times. It means you have to write code several times to… Read More »