document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1.  
  2. if($_SERVER[\'HTTPS\'] == \'on\'){
  3.     $url = "http://".$_SERVER[\'HTTP_HOST\'].$_SERVER[\'REQUEST_URI\'];
  4.     header(\'Location: \'.$url, true, 301);
  5.     exit();
  6. }
  7.  
  8.  
  9.  
  10. // You can turn it back on again on your secure pages using the opposite.
  11.  
  12.  
  13.  
  14. if($_SERVER[\'HTTPS\'] != \'on\'){
  15.     $url = "https://".$_SERVER[\'HTTP_HOST\'].$_SERVER[\'REQUEST_URI\'];
  16.     header(\'Location: \'.$url, true, 301);
  17.     exit();
  18. }
');