/ Published in: PHP

Check if URL is HTTPS
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php if ($_SERVER['HTTPS'] != "on") { echo "This is not HTTPS"; }else{ echo "This is HTTPS"; } <?
Comments
