What is a session and how is it managed? In this article, we're going to look at sessions: starting a session, the session id, session variables and ending a session.
In this article, we'll look at all PHP 8 new features, from syntax changes to new functions.
What does it mean to filter input and how do we use the filter_input function? In this tutorial we'll look into filter form input; filter input string and filter input integer.
The Liskov substitution principle (LSP) in simple terms, states that all derived classes must behave according to the reasonable assumptions of the base class.
The open-closed principle (in PHP) is a software engineering heuristic that minimizes the knock on effects of updates to your code.
SRP (in PHP) is a rule of thumb that minimizes unintended consequences, and one way to do that, is for each class to have one responsibility only.
In this short tutorial, we're going to look at validating a phone number in PHP. Phone numbers come in many formats depending on the locale of the user.
The Dependency Inversion Principle (DIP) aims to solve the problem of bad design. But what is bad design according to the Dependency Inversion Principle?
How to escape output in PHP: In this tutorial we're going to look at the PHP htmlspecialchars and htmlentities functions.
In this article, we'll look at all PHP 7 new features, from PHP 7.0 to the most recent PHP 7.4. We'll go through example PHP code with new functionality.
In this tutorial, we're going to convert a timestamp in PHP to a date or datetime with custom formatting.
In this short PHP tutorial, we're going to check if a variable is NULL or empty.
In this article we're going to look at Cross Site Scripting in PHP, otherwise known as XSS. What is XSS in PHP and how does it occur, what are the sources of XSS?
SQL injection is an attack that attempts to inject SQL in input data, which is ultimately run against your application database.