摘要:
<?php//http转化为https if ($_SERVER["HTTPS"]<>"on"){$xredir="https://".$_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];header("Location: ".$xredir);} ?>如果网页使用http访问,在网页开头加入以下代码:<?php//https转化为http if ($_SERVER["HTTPS"] 阅读全文
posted @ 2013-01-03 18:55
浩瀚孤鸿
阅读(248)
评论(0)
推荐(0)
浙公网安备 33010602011771号