Your name is required"; if(!isset($_REQUEST['source']) || !emailIsValid($_REQUEST['source'])) $errorMessage = $errorMessage. "
  • Please enter a valid return address
  • "; if(!isset($_REQUEST['dest']) || strlen($_REQUEST['dest']) < 1) $errorMessage = $errorMessage. "
  • Please enter a valid destination address
  • "; //if no errors were detected send the email and redirect if(!strlen($errorMessage)) { //send email $to = $_REQUEST['dest']; $subject = "You may want to fill out the Local Environment Survey"; $headers = "From: ".$_REQUEST['name']." <".$_REQUEST['source']. ">\n"; $txt = $_REQUEST['message']."\n\nSincerely,\n".$_REQUEST['name']; //."\n\nP.S. More information about the campaign is available at:\nhttp://www.saveevans.org/\n"; mail($to,$subject,$txt,$headers); //redirect to the thank you page //header("location: faxsupporters.php?view=thanks&done=true"); //} //redirect to the next page function redirect($url) { //If headers are sent... do javascript redirect... if javascript disabled, do html redirect. echo ''; echo ''; exit; } $url = "../Survey/survey_thanks.php"; redirect($url); } ?>
    Thank you!!

    Thank you, thank you, thank you!!
    You're one of people who kindly took the time to complete the 2014 Local Environment Survey.

    Missing Information
    But don't stop there! If you think someone else within your local government is qualified to complete the survey, let them know, using the tool below.

    Your name:
    Your email address:
    Email to:
    (Add as many emails as you like - just separate them with commas)

    [Your Name]


    Thank you again for so kindly forwarding this survey!

    So far, people have completed the 2014 Local Environment Survey.

    \n\t"); print("\n\t"); print("\n\t"); } ?>
    Local Government
    " . $counter-- ."" . $row['govname'] . "" . $row['state'] . "


    The 2014 Local Environment Survey is part of a larger research effort, affiliated with University of Washington's Evans School of Public Affairs. The purpose of this research is to better understand what local governments in the United States are doing to protect the environment, and why. Only a few local governments have been selected to participate in this survey, so your participation is valuable.

    If you have any questions or concerns about this research, you can contact the lead researcher (Ryan Bodanyi) at (401) 829-6192 or by email.

    Last updated: May 21, 2014