I used $_SERVER['QUERY_STRING'] in my code. $_SERVER['QUERY_STRING'] has a value on my local computer, but $_SERVER['QUERY_STRING'] does not get a value on the server. Why?
I used $_SERVER['QUERY_STRING'] in my code. $_SERVER['QUERY_STRING'] has a value on my local computer, but $_SERVER['QUERY_STRING'] does not get a value on the server. Why?
$_SERVER['QUERY_STRING']
is used to obtain the parameters and values behind the url
. Is the url you visited different?
Dump
$_SERVER and take a look.