placing
print "$HTTP_USER_AGENT";
in the body of the /theme/standard/header.html file does not return anything. I need to do a browser picker using
if (strstr($HTTP_USER_AGENT,"MSIE")) {
print "Your browser is Internet Explorer";
}elseif (strstr($HTTP_USER_AGENT,"Mozilla")) {
print "Your browser is Netscape";
}
Where in the moodle code is the return of $HTTP_USER_AGENT stopped from being called from header.html OR does anyone have a solution to this problem?