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 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 find a way to determine whether a clients browser current >> url is prefixed by http or https. However, I cannot seem to find the >> right predefined variable to give me this information. Basically, I >> want >> the same thing that HTTP_REFERER provides, but for the _current_ page. >> >> Any ideas? >> >> >> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php >> >