The data was entered.... or so we hope\n"); echo "$regkey"; $header = "From:UserBot"; $subject = "Activate your DistRen Account"; $body = "Here is your DistRen activation code: $regkey \n This code will allow you to someday activate your account!"; mail($email, $subject, $body, $header); # if($return == 9){ # echo "whoa, that username exists already! Please try something else!"; # } # if($return == 0){ # echo "okay, you have been registered. Now you need to check your email, and follow the link in it."; # } ?>