// below is header info required for page requiring login foreach ($_POST as $key => $val) // form inputs { global ${$key}; ${$key} = $val; } foreach ($_REQUEST as $key => $val) { global ${$key}; ${$key} = $val; } $mysqli = new mysqli("localhost", "washme_public", "qJa42r7Vf89ZQUJm", "washme"); // needed to check login before includes $sid = $_COOKIE['sid']; include("../includes/common_functions.php"); include("../includes/config.php"); include("../includes/email_config.php"); ?>
Missing or invalid email address
"; break; case -2: echo "Missing or invalid name
"; break; case -3: echo "There may have been an error sending email
"; break; case -4: echo "The Notification has been sent however it was not logged due to missing data
"; break; case -5: echo "The Notification has been sent however it was not logged due to an incorrect query
"; break; case 1: echo "The Notification has been sent and logged succesfully
"; break; default: echo "========== Message Preview ===========
" . $notification . "