note 12998 deleted from function.getenv by sander
| From: | sander@php.net | Date: | Sun, 07 Apr 2002 12:43:50 +0000 |
| Subject: | note 12998 deleted from function.getenv by sander | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-28901@lists.php.net to get a copy of this message | ||
I think this code is better:
if (!($HTTPS == "on")) {
header ("Location: https://$SERVER_NAME$PHP_SELF");
exit;
}