Include and Require in PHP

In this tutorial, we will learn about include and require in PHP. Include and Required both are used to copy text/code/markup from the specified file into the file where the copy or require statement is used. Include and require in PHP makes it so simple to manage such kind of code which we need in multiple files for… Read More »

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 »

Thread class methods

In this tutorial, we will learn about Thread class methods. In the last tutorial, we already saw two thread class methods run() and start() method. There are a lot of other methods in Thread class. Check this following list. Method Description public void start() This method is used start the execution of thread. public void run() This method… Read More »

Thread in Java

In this tutorial, we will learn ways to create a Thread in Java. There are two ways to create the thread in Java first one is by extending Thread class and the second one is by implementing Runnable interface. Creating a thread using Thread Class: Thread class contain constructors and methods which helps us to create a thread.… Read More »

Custom Exception in Java

In this tutorial, we will learn about Custom Exception in Java. Custom Exceptions are also known as a user-defined exception. The main motive of creating a custom exception is to create a new exception according to project requirement. When you create a custom exception you have to inherit Exception class as a parent in your custom exception class.… Read More »