Can I ask why? Would dynamic work, or does it need to be *relative*?
an example of dynamic would be:
if ($_SERVER['SERVER_PORT'] != 443) { {
$url = "https://{$_SERVER['SERVER_NAME']}:443{$_SERVER['REQUEST_URI']}";
header("Location: $url");
}
On Mon, Apr 5, 2010 at 1:54 PM, Wade Preston Shearer
<[email protected]> wrote:
> I'm sure the answer is no, but I thought I'd still ask. Is there any way to
> switch to https via a relative URL? The problem is that relative URLs don't
> contain the protocol.
>
> _______________________________________________
>
> UPHPU mailing list
> [email protected]
> http://uphpu.org/mailman/listinfo/uphpu
> IRC: #uphpu on irc.freenode.net
>
_______________________________________________
UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net