Register() && $confirm = $adMangler->SetConfirmationKey()) { $showMessage1 = true; $emailMessage = "You or some one has recently signed up for an AdMangler account on the website ".$_SERVER['SERVER_NAME'].".\n "; $emailMessage .= "If you would like to activate this account you can use the following link to activate your account\n\n"; $emailMessage .= "http://" . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'] . "&key=" . $confirm['key'] ."\n\n"; $emailMessage .= "If you did not request an account then there is no need to do anything.\n Thanks!"; mail($confirm['email'], "Activate Your AdMangler Account on ".$_SERVER['SERVER_NAME']."!", $emailMessage); } else if (!$reg) echo "

Please select another Username the one you choose is not available!

"; } if (isset($_GET['key'])) { if ($adMangler->ConfirmRegistration()) $showMessage2 = true; } ?>

Confirmation Email Sent

An email has been sent to the email provided during registration!
You must follow the instructions in this email to activate your account.

Registration Confirmed

Your AdMangler account has been activated! You may now login.

Register