if ($_SERVER['REQUEST_METHOD'] == 'POST') { $email = $_POST["email"]; } if(isset($_GET['email'])) { $email = $_GET['email']; } ?>