php一句代码让http跳转https
摘要:
//其他框架请加到入口某共公加载的文件中 //方法一 https状态 if(!isset($_SERVER['HTTPS']) || $_SERVER['HTTPS'] == 'off'){ Header("HTTP/1.1 301 Moved Permanently"); header('Loca 阅读全文
posted @ 2020-01-02 23:46 吉格斯 阅读(1667) 评论(0) 推荐(0) 编辑