daily pastebin goal
71%
SHARE
TWEET

Untitled

a guest Feb 13th, 2018 103 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. $first_name = $_POST['first_name'];
  4. $surname = $_POST['surname'];
  5. $email = $_POST['email'];
  6. $msg = $_POST['message'];
  7. $to = "testemail@test.com";
  8. $subject = "Portfolio - Get in Touch";
  9. mail($to, $subject, $msg, "From: " . $first_name . $surname);
  10. echo "Your Message has been sent.";
  11.  
  12. ?>
RAW Paste Data
Top