. */ require_once("include/config.php"); require_once("include/common.php"); require_once("include/dbconnect.php"); require_once("include/pgp.php"); if(isset($_REQUEST['email']) && isset($_REQUEST['confirm'])) { $result = confirmPGP($_REQUEST['email'], $_REQUEST['confirm']); if($result === true) { get_page("home", array('message' => 'Your email address has been confirmed successfully. Within a few minutes, emails from our mail server to you should be encrypted with your PGP public key.')); } else { get_page("home", array('message' => 'Error: failed to confirm any email address. You may have already confirmed the address, or you may have the wrong confirmation key.')); } } else { get_page("home"); } ?>