Hi,
just a guess ...
if register_globals is set to Off use e.g.
$_GET['variable'] instead of $variable.
Generally: Use always $GET['varname'] instead of $varname so your code doesn't depend on the register_global setting (and to increase the security of your script). There are some other "superglobal" arrays like $POST for post variables. Read the manual about that arrays.
Thomas