I think i fixed the first issue
Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
This commit is contained in:
parent
063579df13
commit
4cd7dc7faa
|
@ -42,6 +42,8 @@
|
|||
$filename = "/tmp/list-code-" . $email;
|
||||
|
||||
if (!empty($_GET['code'])) {
|
||||
echo file_get_contents($filename);
|
||||
echo $_GET['code'];
|
||||
if (file_get_contents($filename) == $_GET['code']) {
|
||||
if ($_GET['action'] == "sub") {
|
||||
$handle = fopen("/var/spool/list", "a");
|
||||
|
@ -80,9 +82,7 @@
|
|||
mail($email, $subject, $message, $headers);
|
||||
}
|
||||
|
||||
echo $code_err;
|
||||
|
||||
if (empty($_GET['action']) || ($_GET['action'] != "sub" && $_GET['action'] != "unsub") || !empty($err) && (empty($_GET['code']) && empty($code_err))) {
|
||||
if ((empty($_GET['action']) || ($_GET['action'] != "sub" && $_GET['action'] != "unsub")) || !empty($err) || empty($code_err)) {
|
||||
|
||||
?>
|
||||
<div class=h><h1 id=list>Mailing List</h1> <a aria-hidden=true href=#list>#list</a></div>
|
||||
|
|
Loading…
Reference in New Issue