Re: Verifying a url

From: Date: Wed, 07 Jan 2004 08:38:54 +0000
Subject: Re: Verifying a url
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-173957@lists.php.net to get a copy of this message
Kelly Hallman wrote:
$is_secure = ($_SERVER['SERVER_PORT']==443) ? true : false ;
which can be written more simply $is_secure = $_SERVER['SERVER_PORT']==443; Christophe

« previous php.general (#173957) next »