PHP Superglobals – Basic Routing Using The Server Info – Full PHP 8 Tutorial
35.9K views on YouTube
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: https://www.patreon.com/programwithgio
THANK YOU!
LESSON 2.23
Course Outline – https://github.com/ggelashvili/learnphptherightway-outline
Course Playlist – https://www.youtube.com/playlist?list=PLr3d3QYzkw2xabQRUpcZ_IBk9W50M9pe-
RESOURCES
https://www.php.net/manual/en/language.variables.superglobals.php
https://www.php.net/manual/en/reserved.variables.server.php
CHAPTERS
00:00 – Superglobals & $_SERVER superglobal
02:25 – Building basic routing