on. Under HTTP, the value is actually NULL (the value is unset), but does not seem to be a problem on Apache.
You may need to use a more complex tertiary construct (someone check my syntax):
- Code:
((isset($_SERVER['HTTPS']))) ? "on" : "off"
According to the documentation, the syntax error message implies you typed something wrong into the field, rather than the return value being invalid. Hope this helps.Statistics: Posted by PseudoNyhm — September 16th, 2011, 9:00 am
]]>