The code im using to test is:
if ($_SERVER["HTTPS"] == "off")
{
print "We are not using HTTPS";
}
else
{
print "We are using HTTPS";
}


On my windows machine it works as expected with it displaying the correct
message when using https and http. When i use my linux box it constantly
displays "We are using HTTPS" what means the statement is evaluating as
false. When it should be true (as im currently viewing the page off a HTTP
connection)

Any ideas?

Jamie

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to