On Wednesday 14 July 2004 05:07, Jamie wrote: > > You want to specifically check for > > > > $_SERVER["HTTPS"] == "on" > > > > because if you're not using HTTPS then $_SERVER["HTTPS"] does not exist. > > If this is the case why does it work ok on my windows box?
Who cares what happens on a Windows box? I'm pointing out to you why it isn't working. Just look in $_SERVER and find something that will work under whatever systems you need it to work under. If need be have more than one test. > Shouldnt it have same output accross all platforms? Not necessarily, the info in $_SERVER is largely provided by the webserver and PHP has no control over that. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* All articles that coruscate with resplendence are not truly auriferous. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php