$lclist
\n"; if($lang != NULL) { if($country) echo "The detected language : $lang with quality $quality and the country code is $country. ($lctag)
\n"; else echo "The detected language : $lang with quality $quality and no country is set. ($lctag)
\n"; } else { echo "Your browser doesn't support any language that this script knows.
\n"; echo "This script knows the following languages : "; while(list($key, $val) = each($knownlangs)) { echo "$val "; } echo "\n"; } ?>