note 93456 deleted from reserved.variables.server by danbrown
| From: | danbrown@php.net | Date: | Thu, 10 Sep 2009 16:25:13 +0000 |
| Subject: | note 93456 deleted from reserved.variables.server by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-160427@lists.php.net to get a copy of this message | ||
Note Submitter: mitek17 at gmail dot com
----
In the comments below there is a mistake. To check if current protocol is https, you have to do the
following:
if($_SERVER['HTTPS'] == 'on') /* Apache */
{
...
}