title: Check if server is https doesn't work
body: <p>I'm trying to check if a server has <code>https enabled</code> but it never goes into the if, but in the else statement.</p>
  
  <pre><code>if ($_SERVER['HTTPS'] == "yes") {
      echo "HTTPS";
  } else {
       echo "HTTP";
  }
  </code></pre>
  
  <p>what am I doing wrong?</p>