Closed zorchenhimer closed 10 years ago
PHP is dumb. $_SERVER['HTTPS'] is set to "" (sometimes even "off"!) when using plain old http, and "on" when it's using https.
$_SERVER['HTTPS']
""
"off"
"on"
PHP is dumb.
$_SERVER['HTTPS']
is set to""
(sometimes even"off"
!) when using plain old http, and"on"
when it's using https.