Re[2]: [PHP] https detection
| From: | Tom Rogers | Date: | Sun, 12 Oct 2003 14:07:16 +0000 |
| Subject: | Re[2]: [PHP] https detection | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-165898@lists.php.net to get a copy of this message | ||
Hi,
Sunday, October 12, 2003, 10:27:21 PM, you wrote:
EL> Unless Apache is configured so that both SSL and non-SSL virtualhosts
EL> to point to the same directory containing said script, or said script is
EL> shared (via PHP include(), require(), etc.) by other PHP scripts in both
EL> SSL and non-SSL virtualhosts. :-)
EL> And $_SERVER['HTTPS'] is so much easier to check for existence!
I couldn't remember what variables were set so I said to use phpinfo and see
what pops up....you are probably right :)
--
regards,
Tom