Re: any https / php gotchas ???
| From: | Colin Ross | Date: | Sat, 31 Dec 2005 00:17:17 +0000 |
| Subject: | Re: any https / php gotchas ??? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-228053@lists.php.net to get a copy of this message | ||
this all depends on the web server (IIS/Apache) being used...
On 12/26/05, Curt Zirzow <czirzow@gmail.com> wrote:
>
> On Mon, Dec 26, 2005 at 07:42:48AM +0000, Dave Carrera wrote:
> > Hi List,
> >
> > Are there any https / php gotchas to take into consideration for an app
> > i am writing that will run within a https environment ???
>
> I'm not sure what kind of 'gotchas' your are worried about, but
> well php doesn't really care wether you are using http or https.
>
> There is one thing to note: if you are trying to detect in php
> wether or not the request was from https or not, the result of what
> is in $_SERVER['HTTPS'], depends on the webserver, the possible
> values:
>
> if accessed via https:
> on, On, ON
>
> if accessed via http:
> !isset(), Off, OFF
>
>
> Curt.
> --
> cat .signature: No such file or directory
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>