Uploaded June 2021 | Updated November 2026, 3 hours ago
In this lesson, you will learn how to access the request data via $_GET & $_POST superglobals as well as the dangers of the $_REQUEST superglobal. We'll also improve the basic routing that we built in the previous lesson & add support for POST requests.
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.24
Course Outline - github.com/ggelashvili/learnphptherightway-outline
Course Playlist - youtube.com/playlist?list=PLr3d3QYzkw2xabQRUpcZ_IBk9W50M9pe-
RESOURCES
php.net/manual/en/reserved.variables.get.php
php.net/manual/en/reserved.variables.post.php
php.net/manual/en/reserved.variables.request.php
CHAPTERS
00:00 - $_GET, $_POST & $_REQUEST superglobals
06:28 - Improving router class to support post requests
In this lesson, you will learn how to access the request data via $_GET & $_POST superglobals as well as the dangers of the $_REQUEST superglobal. We'll also improve the basic routing that we built in the previous lesson & add support for POST requests.
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.24
Course Outline - github.com/ggelashvili/learnphptherightway-outline
Course Playlist - youtube.com/playlist?list=PLr3d3QYzkw2xabQRUpcZ_IBk9W50M9pe-
RESOURCES
php.net/manual/en/reserved.variables.get.php
php.net/manual/en/reserved.variables.post.php
php.net/manual/en/reserved.variables.request.php
CHAPTERS
00:00 - $_GET, $_POST & $_REQUEST superglobals
06:28 - Improving router class to support post requests










