共計 181 個字符,預計需要花費 1 分鐘才能閱讀完成。
使用 php 將 http 轉化為 https 的方法
<?php
//http 轉化為 https
if ($_SERVER["HTTPS"]"on")
{
$xredir="https://".$_SERVER["SERVER_NAME"].
$_SERVER["REQUEST_URI"];
header("Location:".$xredir);
}
?>
丸趣 TV 網 – 提供最優質的資源集合!
正文完