You're problem is most likely due to your register_globals settings. PHP changed the default value of register_globals to OFF after Beginning PHP was written. Before, all form input variables were copied into global variables. They're not anymore.
For more info, read my register_globals FAQ:
The reason post nuke and other well-maintained PHP apps work is that they're all patched to work with register_globals = off.