Where Is php.ini, the PHP Configuration File?

In this tutorial, we’re going to discuss php.ini—the main configuration file in PHP. From the beginner’s perspective, we’ll discuss what it’s meant for, where to locate it, and a couple of important configuration settings it provides. What Is php.ini? Whether you’re a PHP beginner or a seasoned developer, I’m sure that you’ve heard of php.ini:… Continue reading Where Is php.ini, the PHP Configuration File?

How to Use Sessions and Session Variables in PHP

Session handing is a key concept in PHP that enables user information to be persisted across all the pages of a website or app. In this post, you’ll learn the basics of session handing in PHP. We’ll start with an explanation of how sessions work and how they are related to cookies. Then we’ll look… Continue reading How to Use Sessions and Session Variables in PHP