post("lists/$mailingList/members", array( 'address' => $recipientAddress, 'name' => $recipientName, 'description' => 'Form Opt In', 'subscribed' => true )); */ } require("settings.php"); $c = isset($_GET['c']) ? SanitizeInputs($_GET['c']) : NULL; $e = isset($_GET['e']) ? SanitizeInputs($_GET['e']) : NULL; if (isset($c) && isset($e) && CheckConfirmationHash($e, $c) && AddMemberToDB($e)) { header('Location: /newsletter/confirmed.html'); } else { header('Location: /newsletter/confirm-error.html') } ?>