$is_secure = ($_SERVER['SERVER_PORT']==443) ? true : false ;
which can be written more simply
$is_secure = $_SERVER['SERVER_PORT']==443;
Christophe
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
$is_secure = ($_SERVER['SERVER_PORT']==443) ? true : false ;
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php