Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $name = $_POST['name'];
- $surname = $_POST['surname'];
- $adress = $_POST['adress'];
- $phone = $_POST['phone'];
- $colour = $_POST['colour'];
- ini_set( 'display_errors', 1 );
- error_reporting( E_ALL );
- $from = "email@gmail.com";
- $to = "receiver@gmail.com";
- $subject = "Новый заказ LOVE 100 servisaslt";
- $message = "Данные клиента:
- Имя: $name
- Фамилия: $surname
- Адрес: $adress
- Номер: $phone
- Цвет, количество: $colour";
- $headers = "From:" . $from;
- mail($to,$subject,$message, $headers);
- //echo "The email message was sent.";
- Header("Location: http://website.com/end.htm");
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement