Re: [PHP] open / check SSL activation

2006-04-05 Thread Jochem Maas
Thomas Munz wrote: if request come from port 443, SSL = Active 443 is the default port for SSL connections but there is no garantee that a connection on port 443 is actually encrypted. therefore I would suggest that using the port number to determine whether SSL is active is a bad idea. see m

Re: [PHP] open / check SSL activation

2006-04-05 Thread Jochem Maas
Alain Roger wrote: Hi, I would like to ebsure that my user has SSL activated. for that i would like to do something like that : 1. after lo-in button click, application will check if SSL is already activated. 1.a if no, php code should activate SSL 1.b if yes, php code should control logi

Re: [PHP] open / check SSL activation

2006-04-05 Thread Thomas Munz
if request come from port 443, SSL = Active you can get the port from $_SERVER["SERVER_PORT"] on Wednesday 05 April 2006 15:12, Alain Roger wrote: > Hi, > > I would like to ebsure that my user has SSL activated. > > for that i would like to do something like that : > 1. after lo-in button click,