Re: detecting ssl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> It worked for me, for thousands of others, but not for everybody. Some people
> just could not use the site anymore. So I guess the SERVER_PORT var can not
> necessarily be count on.
> 
> Has anybody an idea how to overcome this?

try

if ( !isset($_SERVER['HTTPS']) || strtolower($_SERVER['HTTPS']) != 'on' ) {
}

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux