复制代码 代码如下:if ($_server['https'] != "on") { echo "this is not https";}else{ echo "this is https";}if ($_server['https'] != "on") { echo "this is not https";}else{ echo "this is https";} 【说明】:本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:)!