Howdy!
My host just upgraded to PHP 4.2.3 and my life is now a bitch. 🙂 I can't figure out this:
I have a language file (english.php) where I store my language vars
$lang = array();
global $lang;
$lang[rufus] = "Rufus";
$lang[dufus] = "Dufus";
$lang[hilario] = "Hilario";
In my scripts I use include (english.php) and global $lang; to get access to these variables, but after the upgrade things does not work.
echo "Howdy $lang[rufus]";
returns: Howdy
I expect it has something to do with register_globals being turned off, but don't know how to make things work again.
Any ideas would be greatly appreciated.
Cheers,
John