SHARE
TWEET

david

a guest Dec 21st, 2015 12 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <title>Unbenanntes Dokument</title>
  6. </head>
  7.  
  8. <?php
  9.  
  10.  
  11.     if($_POST['from'] != "" and $_POST['betreff'] != "" and $_POST['message'] != "" and $_POST['email'] != "")
  12.     {
  13.         $empf = "mslm2@hotmail.de";
  14.         $from = $_POST['from'];
  15.         $betreff = $_POST['betreff']
  16.         $message = $_POST['message'];
  17.    
  18.         mail($empf, $betreff, $from, $message);
  19.    
  20.         echo "Vielen Dank, die Nachricht wurde versandt!";
  21.     }
  22.     else
  23.     {
  24.    
  25.         echo "Bitte f├╝llen sie alle Felder aus!";
  26.     }
  27.  
  28.  
  29. ?>
  30.  
  31. <body>
  32. </body>
  33. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top