[thelist] Testing for secure connection in PHP
Tony Grimes
info at scribenewmedia.com
Fri Apr 16 19:48:57 CDT 2004
Thanks Carl, this is exactly what I was looking for. But why isn't this
variable listed in the PHP documentation? I couldn't find it on php.net.
Tony
On 4/16/04 5:45 PM, "Carl Edwards" <edwards at vitesse.com> wrote:
> Hello,
>
> I use the following snippet:
>
> if ($_SERVER['HTTPS'] !== 'on') {
> die("Must be run under a secure connection, ie https.\n");
> }
>
> -Carl Edwards
>
More information about the thelist
mailing list