1
Hello, I have the following condition:
if($_SERVER['REQUEST_URI'] != '/painel/cardapio.php'){
header('Location: cardapio.php');
}
but I’m having trouble because the cardapio.php
can be accessed through GET as cardapio.php?etapa=2
How do I get my condition to accept menu.php access with GET variables