Re[2]: [PHP] https detection

From: Date: Sun, 12 Oct 2003 10:52:30 +0000
Subject: Re[2]: [PHP] https detection
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-165894@lists.php.net to get a copy of this message
Hi, Sunday, October 12, 2003, 8:46:41 PM, you wrote: EL> On Sun, Oct 12, 2003 at 01:24:40PM +0200, Rosen wrote: EL> : EL> : I.e. if I use _SERVER["SERVER_PORT"] = 443 - for https connection and 80 EL> : for "normal" - i'll be able to determite if user is in https mode - I think EL> : thath should be works . ? EL> Technically, you can't guarantee that anything running over port 443 EL> will be HTTPS. This is part of the more general problem of running your EL> web server on non-standard ports. His script will only see valid ssl connections as all other attempts should be ditched by apache or whatever before php gets involved...in theory anyway :) -- regards, Tom

« previous php.general (#165894) next »