Nginx vs PHP 7 Cli $_SERVER[request_uri] differences?

169 Views Asked by At

Nginx vs PHP 7 Cli $_SERVER[request_uri] differences

The function in question is "get_uri". When executed in the CLI I get "nope" which is the false "if" response. However, when run inside the browser (firefox) I get the "if" true response. Is this a bug or am I doing something incredibly stupid?

0

There are 0 best solutions below