Team:UCL/FAQ/Contact

From 2014.igem.org

(Difference between revisions)
Line 16: Line 16:
if (!isset($_POST["submit"])) {
if (!isset($_POST["submit"])) {
   ?>
   ?>
-
   <form method="post" action="<?php echo $_SERVER["PHP_SELF"];?>">
+
   <form method="post" action="<?php echo $_SERVER["PHP_SELF"];?>
   From: <input type="text" name="from"><br>
   From: <input type="text" name="from"><br>
 +
  Email: <input type="text" name="email"><br>
 +
  Phone: <input type="text" name="phone"><br>
   Subject: <input type="text" name="subject"><br>
   Subject: <input type="text" name="subject"><br>
   Message: <textarea rows="10" cols="40" name="message"></textarea><br>
   Message: <textarea rows="10" cols="40" name="message"></textarea><br>
Line 27: Line 29:
   if (isset($_POST["from"])) {
   if (isset($_POST["from"])) {
     $from = $_POST["from"]; // sender
     $from = $_POST["from"]; // sender
 +
    $email = $_POST["email"];
 +
    $phone = $_POST["phone"];
     $subject = $_POST["subject"];
     $subject = $_POST["subject"];
     $message = $_POST["message"];
     $message = $_POST["message"];
Line 32: Line 36:
     $message = wordwrap($message, 70);
     $message = wordwrap($message, 70);
     // send mail
     // send mail
-
     mail("webmaster@example.com",$subject,$message,"From: $from\n");
+
     mail("ucligem@gmail.com",$subject,$message,"From: $from\n");
     echo "Thank you for sending us feedback";
     echo "Thank you for sending us feedback";
   }
   }

Revision as of 13:36, 16 September 2014

Goodbye Azodye UCL iGEM 2014

Goodbye Azodye UCL iGEM 2014

Contact Us

Human Practice Team

Contact Details

From:
Email:
Phone:
Subject:
Message:

Contact Us

University College London
Gower Street - London
WC1E 6BT
Biochemical Engineering Department
Phone: +44 (0)20 7679 2000
Email: ucligem2014@gmail.com

Follow Us