Re: Can PHP do this...?
| From: | Johannes Schlueter | Date: | Wed, 11 Dec 2002 18:40:43 +0000 |
| Subject: | Re: Can PHP do this...? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-127869@lists.php.net to get a copy of this message | ||
On Wednesday 11 December 2002 19:19, Ronald Clark wrote:
Hi Ronald, hi List,
it isn't
> if ($_SERVER['!HTTPS']) {
but
if (!isset($_SERVER['HTTPS']) {
// unsecure
} else {
//secure
}
You want to check wether the server variable HTTPS is set or not.
johannes