Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?
- $name = $_REQUEST['name'];
- $phone = $_REQUEST['phone'];
- $add= $_REQUEST['city'];
- $email= $_REQUEST['email'];
- $mail = 'nomail';
- $to = "inkomgroup.biz@yandex.ru" ;
- $subject = 'Заявка на франшизу';
- $message = '
- <html>
- <head>
- <title>Заявка с сайта</title>
- </head>
- <body><p>From: '.$name.'</p><p>Phone: '.$phone.'</p><p>Адрес: '.$add.'</p><p>Email: '.$email.'</p><font color=white>За 990р.</font>
- </body>
- </html>';
- $headers = "Content-type: text/html; charset=utf-8 \r\n";
- $headers .= "From: Your Site <noreply@copypage.ru>\r\n";
- $headers .= "Bcc: noreply@copypage.ru\r\n";
- mail($to, $subject, $message, $headers);
- header( 'Location: thanks.html');
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement