How to find out the site is on SSL or not on SSL? I'm working on a WP plugin for live transactions and it is important for plugin to check that the site (on which plugin is installed) is using SSL or not & I have to show a warning message on checkout page, if the site is not on SSL.
5条回答 默认 最新
- dsmupo6631 2012-04-05 11:43关注
You can check the
$_SERVER['HTTPS']
variable.本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报
悬赏问题
- ¥20 安装 opencv4nodejs 报错
- ¥15 adb push异常 adb: error: 1409-byte write failed: Invalid argument
- ¥15 nginx反向代理获取ip,java获取真实ip
- ¥15 eda:门禁系统设计
- ¥50 如何使用js去调用vscode-js-debugger的方法去调试网页
- ¥15 376.1电表主站通信协议下发指令全被否认问题
- ¥15 物体双站RCS和其组成阵列后的双站RCS关系验证
- ¥15 复杂网络,变滞后传递熵,FDA
- ¥20 csv格式数据集预处理及模型选择
- ¥15 部分网页页面无法显示!