cleanup
This commit is contained in:
parent
75170d3207
commit
5a991d459e
|
@ -8,6 +8,7 @@ define('LARGE_LIMIT',131072);
|
||||||
$subject="OpenPGP.js Example";
|
$subject="OpenPGP.js Example";
|
||||||
$to="alex@openpgpjs.org";
|
$to="alex@openpgpjs.org";
|
||||||
$headers = "From: OpenPGP.js Example <noreply@openpgpjs.org>\r\n";
|
$headers = "From: OpenPGP.js Example <noreply@openpgpjs.org>\r\n";
|
||||||
|
$redirect = "http://openpgpjs.org";
|
||||||
/* -------------------------------------------------------------------------- */
|
/* -------------------------------------------------------------------------- */
|
||||||
|
|
||||||
/* input -------------------------------------------------------------------- */
|
/* input -------------------------------------------------------------------- */
|
||||||
|
@ -20,7 +21,9 @@ if (filter_var($user, FILTER_VALIDATE_EMAIL)) {
|
||||||
$headers = "From: $user\r\n";
|
$headers = "From: $user\r\n";
|
||||||
}
|
}
|
||||||
mail($to, $subject, $message, $headers);
|
mail($to, $subject, $message, $headers);
|
||||||
|
/* -------------------------------------------------------------------------- */
|
||||||
|
|
||||||
/* Redirect browser */
|
/* Redirect browser */
|
||||||
header("Location: http://openpgpjs.org");
|
header("Location: " . $redirect);
|
||||||
|
/* -------------------------------------------------------------------------- */
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user