Re: Question about SSL/php globals
| From: | Wei Weng | Date: | Mon, 27 Jan 2003 17:36:15 +0000 |
| Subject: | Re: Question about SSL/php globals | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-133269@lists.php.net to get a copy of this message | ||
Thanks for the prompt reply!
One more question, do you know how PHP implements this variable? In other words,
how does PHP detect whether the connection is SSLed or not? (Specific to apache)
Thanks!
Wei
----- Original Message -----
From: "Philip Olson" <philip@cornado.com>
To: "Wei Weng" <wweng@kencast.com>
Cc: <php-general@lists.php.net>
Sent: Monday, January 27, 2003 12:19 PM
Subject: Re: [PHP] Question about SSL/php globals
>
> On Mon, 27 Jan 2003, Wei Weng wrote:
>
> > Is there any environment/Global variable in PHP that indicates whether the
> > server port you connect to is SSL port?
>
> $_SERVER['HTTPS']
>
> Regards,
> Philip
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>