Re: redirect if https is set - code so far
- From: Good Man <heyho@xxxxxxxxxx>
- Date: Tue, 19 Apr 2005 10:14:47 -0500
"Craig Keightley" <dont@xxxxxxx> wrote in
news:4264cc3e$0$303$cc9e4d1f@xxxxxxxxxxxxxxxxxxxxxxxx:
> i have the following script on my checkout page to check if https is
> set in the address bar:
>
> if ($_SERVER['HTTPS'] != "on")
if (getenv('HTTPS') != 'on')
tends to work better I've found, so the opposite would be
if (getenv('HTTPS') == 'on')
.
- References:
- redirect if https is set - code so far
- From: Craig Keightley
- redirect if https is set - code so far
- Prev by Date: Sessions problem
- Next by Date: Re: smtp auth login
- Previous by thread: Re: redirect if https is set - code so far
- Next by thread: Sessions problem
- Index(es):
Relevant Pages
|