title: check if ssl is enabled with php
body: <p>I need to run a module that need <code>ssl</code> to be enabled.
  How can I detect if <code>ssl</code> has been enabled?</p>
  
  <p>The module generate a form through a javascript call.</p>
  
  <p>I am using php.</p>
  
  <p>I have no  access to <code>ssl</code>.</p>
  
  <p>Thanks a lot!</p>