打开微信扫一扫,
您还可以在这里找到我们哟
关注我们
兼容:
<!-- 如果检测到是http页面,则自动跳转到对应的https页面 --> <script type="text/javascript"> if (document.location.protocol != "https:") { location.href = location.href.replace(/^http:/,"https:"); } </script>
ASP:
<% If Request.ServerVariables("SERVER_PORT")=80 Then Dim strSecureURL strSecureURL = "https://" strSecureURL = strSecureURL & Request.ServerVariables("SERVER_NAME") strSecureURL = strSecureURL & Request.ServerVariables("URL") Response.Redirect strSecureURL End If %>
PHP:
if(!isset($_SERVER['HTTPS'])||!$_SERVER['HTTPS']){ $url ='https://'. $_SERVER['HTTP_HOST']. $_SERVER['REQUEST_URI']; header('Location: '. $url);exit; }
代理演示站点-一站式的企业采购和服务平台。为您提供包括小程序,公众号,云服务器,域名注册,商标注册,虚拟主机,网络推广等丰富、专业的产品和服务。
© 2017-2019 ***科技 版权所有,并保留所有权利。