Team:Oxford/contact us

From 2014.igem.org

(Difference between revisions)
Line 13: Line 13:
<h2>Contact Oxford iGEM</h2>
<h2>Contact Oxford iGEM</h2>
-
<form action="MAILTO:oxfordigem@bioch.ox.ac.uk" method="post" enctype="text/plain">
+
 
-
Name:<br>
+
<?php
-
<input type="text" name="name" value=><br><br>
+
if (isset($_REQUEST['email']))
-
E-mail:<br>
+
//if "email" is filled out, send email
-
<input type="text" name="mail" value=><br><br>
+
  {
-
Your Message
+
  //send email
-
<textarea name="comments" id="comments">
+
  $email = $_REQUEST['email'] ;
-
</textarea size=200>
+
  $subject = $_REQUEST['subject'] ;
-
<input type="submit" value="Send">
+
  $message = $_REQUEST['message'] ;
-
<input type="reset" value="Reset">
+
  mail("oxfordigem@bioch.ox.ac.uk", $subject,
-
</form><BR><BR>
+
  $message, "From:" . $email);
-
<p> Thank you for your message. We will endeavour to reply as soon as possible.</p>
+
  echo "Thank you for using our mail form";
 +
  }
 +
else
 +
//if "email" is not filled out, display the form
 +
  {
 +
  echo "<form method='post' action='mailform.php'>
 +
  Email: <input name='email' type='text' /><br />
 +
  Subject: <input name='subject' type='text' /><br />
 +
  Message:<br />
 +
  <textarea name='message' rows='15' cols='100'>
 +
  </textarea><br />
 +
  <input type='submit' />
 +
  </form>
</body>
</body>
</html>
</html>
 +
 +
 +
 +
Thank you for your message. We will endeavour to reply as soon as possible.</p>
 +
 +

Revision as of 13:54, 17 July 2014

Contact Us

OxiGEM.png

If you have any questions about our project, our team or our ideas don't hesitate to contact us.

Contact Oxford iGEM

Email:
Subject:
Message:

Thank you for your message. We will endeavour to reply as soon as possible.



Follow us on Facebook at: https://www.facebook.com/oxfordigem

Follow us on Twitter at: https://twitter.com/OxfordiGEM

Our official email address is: oxfordigem@bioch.ox.ac.uk </p>