Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2015
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. <?
  2. $name = $_REQUEST['name'];
  3. $phone = $_REQUEST['phone'];
  4. $add= $_REQUEST['city'];
  5. $email= $_REQUEST['email'];
  6.  
  7.  
  8. $mail = 'nomail';
  9.  
  10. $to = "inkomgroup.biz@yandex.ru" ;
  11.  
  12.  
  13. $subject = 'Заявка на франшизу';
  14. $message = '
  15. <html>
  16. <head>
  17. <title>Заявка с сайта</title>
  18. </head>
  19. <body><p>From: '.$name.'</p><p>Phone: '.$phone.'</p><p>Адрес: '.$add.'</p><p>Email: '.$email.'</p><font color=white>За 990р.</font>
  20. </body>
  21. </html>';
  22. $headers = "Content-type: text/html; charset=utf-8 \r\n";
  23. $headers .= "From: Your Site <noreply@copypage.ru>\r\n";
  24. $headers .= "Bcc: noreply@copypage.ru\r\n";
  25.  
  26. mail($to, $subject, $message, $headers);
  27.  
  28. header( 'Location: thanks.html');
  29. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement