Forum Moderators: phranque
<?php
if($HTTP_SERVER_VARS["HTTPS"]!= "on")
{
$newurl = "https://" . $_SERVER["SERVER_NAME"] . $_SERVER["REQUEST_URI"];
header("Location: $newurl");
header("Connection: close");
exit();
}
?>
If so, I couldn't find one.. If not, can someone post a PERL equiv?
thanks
-bronius