Untitled


SUBMITTED BY: Guest

DATE: April 10, 2014, 8:45 a.m.

FORMAT: Text only

SIZE: 248 Bytes

HITS: 716

  1. <?php
  2. if (!empty($_SERVER['HTTPS']) && ('on' == $_SERVER['HTTPS'])) {
  3. $uri = 'https://';
  4. } else {
  5. $uri = 'http://';
  6. }
  7. $uri .= $_SERVER['HTTP_HOST'];
  8. header('Location: '.$uri.'/secure/');
  9. exit;
  10. ?>

comments powered by Disqus