Re: https detection
| From: | Eugene Lee | Date: | Sun, 12 Oct 2003 10:46:41 +0000 |
| Subject: | Re: https detection | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-165893@lists.php.net to get a copy of this message | ||
On Sun, Oct 12, 2003 at 01:24:40PM +0200, Rosen wrote:
:
: I.e. if I use _SERVER["SERVER_PORT"] = 443 - for https connection and 80
: for "normal" - i'll be able to determite if user is in https mode - I think
: thath should be works . ?
Technically, you can't guarantee that anything running over port 443
will be HTTPS. This is part of the more general problem of running your
web server on non-standard ports.