This might help with the undefinded vars errors. As of php 4.2.0 the php.ini setting for register_globals was set to off, this helps prevent the ingecting of data etc...
basically, open your php.ini and change the register_globals = off to on, this should correct some of the undefinded errors your getting.
I wouldn't recomend this on a "Live" site, but internal site should be ok.
for more infomation on register_globals, visit
http://us3.php.net/manual/en/ini.cor...gister-globals

vRandom