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 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
> 
> 
> 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to