php 判断服务器是否是HTTPS连接
判断服务器是否是HTTPS连接 [代码片段(6行)]
if ($_SERVER['HTTPS'] != "on") { echo "This is not HTTPS"; }else{ echo "This is HTTPS"; } //该片段来自于http://outofmemory.cn
- 上一篇:php 显示任何网页的源代码
- 下一篇:php 在文本中显示Facebook 粉丝数
精彩图集
精彩文章
if ($_SERVER['HTTPS'] != "on") { echo "This is not HTTPS"; }else{ echo "This is HTTPS"; } //该片段来自于http://outofmemory.cn
@CopyRight 2002-2008, 1SOHU.COM, Inc. All Rights Reserved QQ:1010969229