Error with PHP on my page

Is $_SERVER['REMOTE_ADDR'] supported on Glitch? I am using this for an IP ban system and when I type echo $_SERVER['REMOTE_ADDR'] nothing happens. PHP already works on my site because I set up glitch.json

You need to retrieve the IP from the X-Forward-Proto header.