ask_them()";
}
else {
print "Please use our secure site: ";
print "$url";
exit; // important so that they don't get further
}
}
// main()
$docu = $PHP_SELF;
$name = $SERVER_NAME;
$sslp = $SSL_PROTOCOL;
if (empty($sslp)) {
$url = "https://$name$docu";
ask_them($url);
}
else {
print "You are now using SSL.
";
print "Back to the SSL document.";
}
?>