RE: [PHP] Detecting if browser is using a HTTP or HTTPS connection to view the page

From: Date: Tue, 13 Jul 2004 20:34:03 +0000
Subject: RE: [PHP] Detecting if browser is using a HTTP or HTTPS connection to view the page
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-190386@lists.php.net to get a copy of this message
Hi, That code I sent is running on a Cobalt Linux server. -Dan Joseph > -----Original Message----- > From: Jamie [mailto:jammie@pc-forums.net] > Sent: Tuesday, July 13, 2004 3:37 PM > To: php-general@lists.php.net > Subject: Re: [PHP] Detecting if browser is using a HTTP or > HTTPS connection to view the page > > Thanks for your reply Dan, > > I have tried the $_SERVER['HTTPS'] on windows and it works > fine. It replys off when HTTPS isnt working and on when it > is. But on linux it does nothing. > Can someone please confirm if this works or it does not work > as i need a method that is cross platform compatitable. > > Thanks > Jamie > > -- > PHP General Mailing List (http://www.php.net/) To > unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#190386) next »