Registering Globals On is only a quick fix the better way to do it is to collect your variables in the correct collection method ag:
$uid = mysql_escape_string($_POST["uid"]);
$pwd = mysql_escape_string($_POST["pwd"]);
$cpw = mysql_escape_string($_POST["cpw"]);
$bdy = mysql_escape_string($_POST["bdy"]);
$ulc = mysql_escape_string($_POST["ulc"]);
$email = mysql_escape_string($_POST["email"]);
Change the above variable names to the same as you have in your form inputs.
also using mysql_escape_string() will help you from being hacked from sql injection
Added after 5 minutes:
Turning Globals on leaves all your undefined variables at risk and your site at risk from being hacked.
eg a user could use something like: http://yoursite.con/web/admincp.php?action=something&uid=1 and might be able to get into your admin control panel by setting there uid to 1