开发者

How do I make a form on my site ssl

开发者 https://www.devze.com 2023-03-24 10:41 出处:网络
Ok so the problem I have is this There is ssl on the server and I have a lease.php fil开发者_开发技巧e that i need to be ssl...its posting to itself...any ideas what it is i need to do to activate it

Ok so the problem I have is this There is ssl on the server and I have a lease.php fil开发者_开发技巧e that i need to be ssl...its posting to itself...any ideas what it is i need to do to activate it on this php file


if some one redirect to your lease.php you should check if it is under ssl via:

if($_SERVER['HTTPS']!="on"){
header("Location: https://..../lease.php");die();
}

also you have to make sure that under lease.php every external resource like js,img,iframe and more has to be https as well, or you break it

0

精彩评论

暂无评论...
验证码 换一张
取 消