Re: How to know if we're using http or https

From: Date: Thu, 11 Jul 2002 18:35:57 +0000
Subject: Re: How to know if we're using http or https
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-107158@lists.php.net to get a copy of this message
if ( $_SERVER["HTTPS"]=="on" ) user using HTTPS else user usin http ----- Original Message ----- From: "LeTortorec, Jean-Louis" <JLeTortorec@healthcore.com> To: <php-general@lists.php.net> Sent: Thursday, July 11, 2002 8:32 AM Subject: [PHP] How to know if we're using http or https > Hello all! > > Is there a flag that would tell me if the page requested is using SSL, by > https, or regular http? > > I'm not sure I could get that from PHP, or from Apache/PHP. > > Thanks for your help. > > > Jean-Louis > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > >

« previous php.general (#107158) next »