Re: Detecting if browser is using a HTTP or HTTPS connection to view the page
| From: | Marek Kilimajer | Date: | Tue, 13 Jul 2004 20:48:56 +0000 |
| Subject: | Re: Detecting if browser is using a HTTP or HTTPS connection to view the page | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-190389@lists.php.net to get a copy of this message | ||
More about your setup?
Try $_ENV['HTTPS'], or access phpinfo() page using https and see what you get.
Jamie wrote:
Hi, That code I sent is running on a Cobalt Linux server. -Dan JosephWhy does it work for you then and not for me on a rhl 9 setup?On phpinfo I have: SCRIPT_URI https://host.mydomain.com/phpinfo.php _SERVER["SCRIPT_URI"] https://host.mydomain.com/phpinfo.php Michael.According to my phpinfo there is not a SCRIPT_URI This is weird and confusing... why does it only work on a few operating systems :S Jamie