I have a problem detecting the $HTTPS server variable. Reason is my
providers SSL setup something about a proxy, and PHP dropping the server
I need to check that the URL is https and if not do a header(location) to
the https path. None of the server variables seem to work so how can I get
the full URL including the https or http to do a quick check if it is there.
I thought it would be easy to just do an eregi to look for https and if its
not there do the header(location) thing.
I have tried $REQUEST_URI - not working as it drops the server flags.
Any other ideas.