Right, but I need to programatically redirect the user to a secure page
if they did not arrive at mine from one. I can detect whether it is already
secure, but how do I get them there if it's not?
- Tom Doman
>> "Andrew Garrett"
<andrew(a)epstone.net> 12/08/07 5:31 PM >>>
On 12/8/07, Tom Doman
<tdoman(a)novell.com> wrote:
However, I need to guarantee that my page is over
https.
Does the MediaWiki API set have a way for me to guarantee this?
This can be done with the PHP variable $_SERVER['HTTPS'], which will
be true if the site was requested using ssl, and false, otherwise.
--
Andrew Garrett
_______________________________________________
Wikitech- l mailing list
Wikitech- l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/wikitech- l