Forum Moderators: coopster
if ($_SERVER["HTTPS"] == "on"){ .... stuff here
and i'm getting a php notice.
eg. Notice: Undefined index: HTTPS in /var/....../filename.php on line 55
how would i avoid this?
i'm getting a similar problem with
if ($_SERVER["HTTP_REFERER"]){
i'm gettign a similar notice,
eg: Undefined index: HTTP_REFERER in ...
any ideas? i know a notice isn't critical but i'd like to keep it tidy.
if (isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == "on")...
if (isset($_SERVER["HTTP_REFERER"])) {
code here..
}
dc