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

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

Reply via email to