It's a super global, it's just there. You do not set it, but you can read it.
place echo $_SERVER['REQUEST_SCHEME']; die(); just about anywhere on any page and open it in the browser and you will see it.
Last edited by darkalchemy; 17th December 2018 at 19:31.
|