[PHP] Re: Current URL is http or https?

2002-05-17 Thread Steven Walker
Thanks! I got it: $_SERVER['HTTPS'] == "on" Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] On Friday, May 17, 2002, at 01:09 PM, Philip Hallstrom wrote: > I would guess you want $_SERVER["SERVER_PROTOCOL"] which returns > "HTTP/1.1" for me and probably "HTTPS..." for

[PHP] Re: Current URL is http or https?

2002-05-17 Thread Philip Hallstrom
I would guess you want $_SERVER["SERVER_PROTOCOL"] which returns "HTTP/1.1" for me and probably "HTTPS..." for https connections... also if you're using apache I think it sets some SSL_* variables that exist only when using https. On Fri, 17 May 2002, Steven Walker wrote: > Hi, > > I'm trying to