Re: detecting ssl

From: Date: Wed, 13 Oct 2004 13:40:58 +0000
Subject: Re: detecting ssl
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-199369@lists.php.net to get a copy of this message
> 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' ) { }

« previous php.general (#199369) next »