Howdy, I have a simple if/else line of php detecting user agent, if it's Firefox on OSX, do this, else do that...
It works fine live but not on my local install of xampp.
I tried this too as a check and live it feeds me back the agent, local nothing.
echo "search for firefox: ==" . stristr($_SERVER['HTTP_USER_AGENT'],"Firefox") . "==";
FYI, my file directory is not in the install location, could that have an affect on it?
Thanks