RE: [PHP] Can PHP do this...?
| From: | John W. Holmes | Date: | Wed, 11 Dec 2002 17:44:45 +0000 |
| Subject: | RE: [PHP] Can PHP do this...? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-127853@lists.php.net to get a copy of this message | ||
> Hello all. I have a question that I hope someone can answer. Is it
> possible
> to determine is someone is hitting your site over SSL or plain http
using
> PHP? If so, is it part of getenv()?
I think it's $_SERVER['HTTPS']. If that is set, then the connection is
over SSL.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/