title: SSL, detecting if the browser supports Cloud Flare SSL then redirecting
body: <p>I have implemented Cloud Flare flexible SSL.</p>
  
  <p>The problem is that not all browsers support the type of certificate Cloud Flare use, and as such some users get warning messages.</p>
  
  <p>I wish to redirect users who can use Cloud Flare SSL to the SSL version of my web site.</p>
  
  <p>I initially tried using .htaccess to redirect http to https, however I need a way to only redirect the browsers that can use the SSL cert.</p>
  
  <p>Cloud Flare provide a list of browsers supported, however its not accurate and I found that Safari on OSX 10.8 is not supported, unless updates are run.</p>
  
  <p>In my software I simply try and load a https website, if I get a positive result I send the user to the https website. But users who directly visit my website need to be directed to the correct site.</p>
  
  <p>I can use PHP, Javascript and htaccess.</p>