How can PHP read whether the URL startes with "http://" or "https://"?
I did a search and found this:
http://www.vbforums.com/showthread.p...ighlight=https
which said I should try this:
But I get this error:PHP Code:echo $_SERVER['HTTPS'];
Quote:
Notice: Undefined index: HTTPS in c:\mina dokument\icefire security\test.php on line 2
