note 70576 added to reserved.variables
| From: | chris dot chaudruc at gmail dot com | Date: | Fri, 20 Oct 2006 20:09:13 +0000 |
| Subject: | note 70576 added to reserved.variables | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-118869@lists.php.net to get a copy of this message | ||
To force the loading of a page using https:// instead of http:// - maybe for a shopping cart checkout page - you can use the following
snippet of code at the very top of your page:
if(!$_SERVER['HTTPS']){header("Location: https://www.yoursite.com/page_that_must_be_secure.php");
}
----
Server IP: 66.163.161.117
Probable Submitter: 75.11.85.102
----
Manual Page -- http://www.php.net/manual/en/reserved.variables.php
Edit -- https://master.php.net/note/edit/70576
Del: integrated -- https://master.php.net/note/delete/70576/integrated
Del: useless -- https://master.php.net/note/delete/70576/useless
Del: bad code -- https://master.php.net/note/delete/70576/bad+code
Del: spam -- https://master.php.net/note/delete/70576/spam
Del: non-english -- https://master.php.net/note/delete/70576/non-english
Del: in docs -- https://master.php.net/note/delete/70576/in+docs
Del: other reasons-- https://master.php.net/note/delete/70576
Reject -- https://master.php.net/note/reject/70576
Search -- https://master.php.net/manage/user-notes.php