开发者

How do I make a form on my site ssl

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜