Re: checking for and enforcing https
| From: | Shawn McKenzie | Date: | Mon, 25 Feb 2008 18:50:45 +0000 |
| Subject: | Re: checking for and enforcing https | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-270103@lists.php.net to get a copy of this message | ||
Rick Pasotto wrote:
> What is the best or recomended proceedure for making sure that a page is
> accessed only via a secure connection?
>
Best is subjective, however I check in $_SERVER['SERVER_PROTOCOL'], also
https will appear in some other $_SERVER vars.
-Shawn