RE: [PHP] HTTP or HTTPS
| From: | John W. Holmes | Date: | Fri, 04 Apr 2003 03:57:50 +0000 |
| Subject: | RE: [PHP] HTTP or HTTPS | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-142246@lists.php.net to get a copy of this message | ||
> anybody knows how to find out the connection type (http or httpS)?
Tried
> out
> $HTTP_SERVER_VARS.
$_SERVER['HTTPS'] will be set if it's over HTTPS.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/