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