Just as a warning, I have worked on linux servers where this did not work,
perhaps because of what silverquick points out:
http://www.php.net/manual/en/reserved.variables.server.php
I think the HTTPS element will only be present under Apache 2.x. It's not in
> the list of "special" variables here:
Ben Miller wrote:
> Is there a PHP function that will return whether the request was http or
> https? I have functions that need to cURL other servers - sometimes over
> SSL, sometimes not, depending whether the function is called from
> http://www.mydomain.com/script_that_calls_function.php or
>
2 matches
Mail list logo