* Thus wrote Rosen ([EMAIL PROTECTED]):
> 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
On Sun, Oct 12, 2003 at 08:52:30PM +1000, Tom Rogers wrote:
: Sunday, October 12, 2003, 8:46:41 PM, Eugene 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
: EL> : and 80 for "normal" - i'll be a
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 ov
On Sun, Oct 12, 2003 at 01:09:15PM +0200, Rosen wrote:
:
: Is there a way to determite with PHP thath site visitor is in https (SSL)
: mode or in normal mode ?
Check for the existence of $_SERVER['HTTPS'] which gets set only on SSL
pages. I wonder why it's still not mentioned in the official doc
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 . ?
Thanks,
Rosen
"Tom Rogers" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> Sunday, October 12
Hi,
Sunday, October 12, 2003, 9:09:15 PM, you wrote:
R> Hi,
R> Is there a way to determite with PHP thath site visitor is in https (SSL)
R> mode or in normal mode ?
R> Thanks,
R> Rosen
put phpinfo(32); at the top of the page and that should show what is available
with an ssl connection if you m
6 matches
Mail list logo