Here is what this script looks like, up to the text above:




// Sample: Forced redirect to 'https' if user enters the page from 'http'

if ($_SERVER["HTTPS"] != 'on')
    {
        header("Location: https://" .$_SERVER['SERVER_NAME'].$_SERVER['PHP_SELF']);
    }

echo "If you tried to access this script using 'http' in your URL, then you you
should have been redirected to to a secure connection using https (Apache with SSL) for this page.\n";