Global Server Variables are Not Working

hi Helpers,

I’m trying to get a Mac OS X machine set up to demonstrate a small PHP site I created and I can’t get the server variables to work.

The specific variable I’m trying to use is $_SERVER[‘QUERY_STRING’]. But it doesn’t seem to matter which one I try, none of them work.

I’m guessing this has to do with a server setting that I don’t know how to change. Any help would be appreciated!

Super globals are available without configuring anything, your usage may be an issue. How are you attempting to use the variables?

Sponsor our Newsletter | Privacy Policy | Terms of Service