RE: [PHP] Detecting HTTPS connections under Apache

From: Date: Fri, 27 May 2011 21:57:44 +0000
Subject: RE: [PHP] Detecting HTTPS connections under Apache
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-313173@lists.php.net to get a copy of this message
On Thu, 26 May 2011, admin@buskirkgraphics.com wrote:
So when you echo $_SERVER['SERVER_PORT']; You get port 80 even if the url currently is https://www.yoursite.com ?
Yes.
If this is the case good luck. Because you have serious issues.
OK. This on its own is not particularly helpful. Surely I can't be the only person in the universe who has experienced this. I'm running a minimally-altered stock Debian Apache and PHP setup. Geoff.

« previous php.general (#313173) next »