In this article, I am going to discuss the Types of Errors in PHP and How to Handle Them. There are four types of errors that a PHP Script can generate. Syntax errors or compile errors Runtime errors or fatal errors Warnings Notice Errors Syntax Errors (Compile Errors) Syntax errors are those errors that the …
MERN Stack Important Concepts
Today I will discuss MERN Stack Important Concepts. Basically, MERN Stack is another technology stack that uses JavaScript. Similarly, we use it to develop web applications. Like MEAN stack, we can develop full-stack web applications using MERN Stack. The four key components of MERN Stack are MongoDB, Express, React, and Node. Evidently, MERN Stack uses …
Overview of Mean Stack
This article provides an Overview of Mean Stack. Basically, it is a JavaScript-based full-stack technology stack that enables developers to build modern web applications faster. Since JavaScript is the language to develop both client-side and server-side development, developers need to learn a single language only. Besides, this technology stack provides a simple, cost-effective solution. Also, …
Getting Started With MongoDB
In this article on Getting Started With MongoDB, I will introduce a NoSQL database called MongoDB. Basically, it is a document-oriented database that is widely used in creating scalable web applications. Since it is a non-relational database, so it doesn’t contain rows and columns. Instead, it has document-oriented storage. We can create a database without …
Working With Directories in PHP
Working With Directories in PHP involves creating a directory, changing directories, listing the content of a directory, and also deleting a directory. PHP provides several in-built functions that enable us to perform operations on directories. The following section discusses some of these functions. Functions for Working With Directories in PHP To begin with, we create …
Performing File Operations in PHP
In this article, I will discuss Performing File Operations in PHP. Since file handling is an important feature in many applications. So, all programming languages offer a library of in-built functions for file handling. As a matter of fact, PHP provides a number of methods to create, read, and manipulate files and directories. The following …
A Brief Description of move_uploaded_file() Function in PHP
This article presents A Brief Description of move_uploaded_file() Function in PHP. For the purpose of uploading a file, we use the move_uploaded(_file() function. Basically, it takes two parameters as the input. While the first parameter indicates the name of the uploaded file. Similarly, the second parameter indicates the location to which the file needs to …
PHP Library Functions for Uploading Files
In fact, there are several PHP Library Functions for Uploading Files that we use in our script. The following section discusses these functions in brief. Brief Introduction to PHP Library Functions for Uploading Files file_exists() In order to find whether a file or directory exists or not we use this function. Before uploading a file, …
Example of Uploading Files in PHP
An Example of Uploading Files in PHP is shown here. Applications and Use of Uploading Files in PHP Because many dynamic applications provide features for users to upload files, it is one of the most essential functions of a web application. Significantly, many CMS (Content Management Systems) allows administrators to upload images as well as …
Understanding Cookies in PHP
As a matter of fact, understanding Cookies in PHP requires learning to use the setcookie() method. Cookies in PHP allow us to store a small amount of client information. In fact, cookies are very useful in tracking users. A website may want to know the navigation behavior of its users. So, cookies help website administrators …