Hello,
on a few of my pages I want to determine if they are on http or https and then redirect them accordingly using the
header("Location: https://www.server.com/forms.php");
Thanks Chris
you can use $_SERVER["SERVER_PROTOCOL"]
i'm not sure what the various results are, but on my standard http pages it returns HTTP/1.1 - so i'm guessing https would return HTTPS/1.1 or something similar
Here's a good function you can thank drawmack for...