I'm using $_SERVER["PATH_INFO"]
to pass values to the backend through the url, other than ?chave=valor
, instead, /:valor/
(I identify the colon and return a variable with that name) when I have a request for url //valor/
the value of $_SERVER["PATH_INFO"]
is /valor/
, causing some problems ...
Why? And how to solve?