Re: PHP Muilti-Language script
You're setting $lang to $_GET['lang'], and then when the language file is included you're using the same variable name for the string array. The string keys equate to a numeric 0, and the first letter of each string is being placed as the first letter of $lang. That is, those "random" characters are actually the first letter of $lang['RE_SEARCH'].
In short, don't bother storing $_GET['lang'] in a variable, just use it in the switch statement instead ;-)
"But you have access to the greatest source of knowledge in the universe."
"Well I do talk to myself sometimes, yes."
"I'm back, and I'm bad! Obviously within certain, sensible, preset parameters"