News & Views - Information Request

If you would like to know more about research and events at The Scripps Research Institute, sign up below.

Please check the box and fill in your name and email address. You will receive electronic information when each new issue of News & Views is pubished online:

Yes, I would like to subscribe to News & Views


First Name:
Last Name:
E-mail:

"; // email response page contents go here. $submit_block .= "

Thank you. Your information has been sent to News & Views.

"; // Primary page functions start here. form and page display. //error checking if ($operation == "submit"){ if ($email == "") {$email_err = "Please enter your email address.
"; $operation = "no";} if ($lname == "") {$name_err = "Please enter your name.
"; $operation = "no";} // block the spammer from using the form to send urls if (preg_match("/http/i", $address)) { $name_err = "Web links are not allowed in the address field.
"; $operation = "no"; } } // email function goes here. if ($operation == "submit") { //If request1 is checked, email a subscribe to majordomo for news and views if ($request1 == "y") {$msg .= "subscribe newsandviews\n"; $to = "[email protected]"; $subject = "News & Views Request Form"; $mailheaders = "From: $email\n"; mail ($to, $subject, $msg, $mailheaders); } echo "$submit_block"; } // error messages. // the beginning. show the form. else if ($operation == "" || $operation == "no") { echo "$name_err"; echo "$email_err"; echo "$form_block";} ?>