Uploaded June 2021 | Updated November 2026, 3 hours ago
In this lesson, you will learn what superglobals are & learn the $_SERVER superglobal, how & when to use it, and so on. We will also build a basic routing using the information we get from the $_SERVER superglobal and we'll refactor & improve it in the next lesson where you will learn about $_POST, $_GET & $_REQUEST superglobals.
SOME OF THE WAYS YOU CAN SUPPORT THE CHANNEL
π Smash the like button
π€ Subscribe to the channel & turn the notifications on
π¬ Post comments, any feedback is greatly appreciated
β Become a Patreon: patreon.com/programwithgio
THANK YOU!
LESSON 2.23
Course Outline - github.com/ggelashvili/learnphptherightway-outline
Course Playlist - youtube.com/playlist?list=PLr3d3QYzkw2xabQRUpcZ_IBk9W50M9pe-
RESOURCES
php.net/manual/en/language.variables.superglobals.php
php.net/manual/en/reserved.variables.server.php
CHAPTERS
00:00 - Superglobals & $_SERVER superglobal
02:25 - Building basic routing
In this lesson, you will learn what superglobals are & learn the $_SERVER superglobal, how & when to use it, and so on. We will also build a basic routing using the information we get from the $_SERVER superglobal and we'll refactor & improve it in the next lesson where you will learn about $_POST, $_GET & $_REQUEST superglobals.
SOME OF THE WAYS YOU CAN SUPPORT THE CHANNEL
π Smash the like button
π€ Subscribe to the channel & turn the notifications on
π¬ Post comments, any feedback is greatly appreciated
β Become a Patreon: patreon.com/programwithgio
THANK YOU!
LESSON 2.23
Course Outline - github.com/ggelashvili/learnphptherightway-outline
Course Playlist - youtube.com/playlist?list=PLr3d3QYzkw2xabQRUpcZ_IBk9W50M9pe-
RESOURCES
php.net/manual/en/language.variables.superglobals.php
php.net/manual/en/reserved.variables.server.php
CHAPTERS
00:00 - Superglobals & $_SERVER superglobal
02:25 - Building basic routing










