RE: [PHP] Detecting if browser is using a HTTP or HTTPS connection to view the page
| From: | Dan Joseph | Date: | Tue, 13 Jul 2004 20:48:26 +0000 |
| Subject: | RE: [PHP] Detecting if browser is using a HTTP or HTTPS connection to view the page | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-190388@lists.php.net to get a copy of this message | ||
Hi,
Can you post your code so we can look at it?
-Dan Joseph
> -----Original Message-----
> From: Jamie [mailto:jammie@pc-forums.net]
> Sent: Tuesday, July 13, 2004 4:48 PM
> To: php-general@lists.php.net
> Subject: Re: [PHP] Detecting if browser is using a HTTP or
> HTTPS connection to view the page
>
> > Hi,
> >
> > That code I sent is running on a Cobalt Linux server.
> >
> > -Dan Joseph
> >
>
> Why does it work for you then and not for me on a rhl 9 setup?
>
> >On phpinfo I have:
> >
> >SCRIPT_URI
> > https://host.mydomain.com/phpinfo.php
> >_SERVER["SCRIPT_URI"]
> > https://host.mydomain.com/phpinfo.php
> >
> >Michael.
>
> According to my phpinfo there is not a SCRIPT_URI
>
> This is weird and confusing... why does it only work on a few
> operating systems :S
>
> Jamie
>
> --
> PHP General Mailing List (http://www.php.net/) To
> unsubscribe, visit: http://www.php.net/unsub.php
>