getId(),$verificationKey); $message = 'Please follow the link to verify your account: http://localhost/webforum_redux/hforumphp/dev_mvc/index.php?p=verify&key='.$verificationKey; $headers = 'From: webmaster@example.com' . "\r\n" . 'Reply-To: webmaster@example.com' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); mail($email, "Account Verification", $message, $headers); } } else{ echo("REGISTRATION FAILED: PASSWORD VERIFICATION MISSMATCH"); } } else{ echo "POST UNSUCCESFUL: POST DATA INCOMPLETE OR NOT FOUND"; } ?>