Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

PHP $_SERVER explained

20.1K views on YouTube

#PHP #course #tutorial

// $_SERVER = SGB that contains headers, paths, and script locations.
// The entries in this array are created by the web server.
// Shows nearly everything you need to know about the current web page env.

if($_SERVER[“REQUEST_METHOD”] == “POST”){
echo”HELLO”;
}