RE: [PHP] How to know if we're using http or https

2002-07-11 Thread LeTortorec, Jean-Louis
Thanks to all for your prompt replies! It works just fine. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] How to know if we're using http or https

2002-07-11 Thread Brian McGarvie
yip on the browser a small padlock should appear > -Original Message- > From: LeTortorec, Jean-Louis [mailto:[EMAIL PROTECTED]] > Sent: 11 July 2002 4:33 PM > To: [EMAIL PROTECTED] > Subject: [PHP] How to know if we're using http or https > > > Hello all! > > Is there a flag that would

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

2002-07-11 Thread Chris Boget
You can use either of the following checks to see if the user is using HTTPS... $HTTPS == "on" $SERVER_PORT == "443" Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2002-07-11 Thread R'twick Niceorgaw
if ( $_SERVER["HTTPS"]=="on" ) user using HTTPS else user usin http - Original Message - From: "LeTortorec, Jean-Louis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 11, 2002 8:32 AM Subject: [PHP] How to know if we're using http or https > Hello all! > > Is