Re: https detection
| From: | Curt Zirzow | Date: | Sun, 12 Oct 2003 15:56:51 +0000 |
| Subject: | Re: https detection | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-165905@lists.php.net to get a copy of this message | ||
* Thus wrote Rosen (rosen@pernikinfo.com):
> 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 . ?
There is no guarantee that port 443 == https and 80 == http.
Curt
--
"My PHP key is worn out"
PHP List stats since 1997:
http://zirzow.dyndns.org/html/mlists/