if ($_SERVER[
echo "This is not HTTPS";
}else{
echo "This is HTTPS";
}if ($_SERVER[
echo "This is not HTTPS";
}else{
echo "This is HTTPS";
}
From:http://tw.wingwit.com/Article/program/PHP/201311/20978.html
if ($_SERVER[
echo "This is not HTTPS";
}else{
echo "This is HTTPS";
}if ($_SERVER[
echo "This is not HTTPS";
}else{
echo "This is HTTPS";
}