Answer the question
In order to leave comments, you need to log in
The feedback form does not work, the site is on html without tsms, js is present. If so, you can’t tell me, I’ll pay for the time, help me?
The feedback form does not work, the site is on html without CMS. js is in the website folder. everything flashes, glows, clicks but does not send, and at least crack. If you can't advise, we can discuss payment. Thanks in advance. Christ is risen!
https://fsi.org.ua/startup.html
_
I am also looking for a layout specialist who will take the new me, thank God, not stupid, by the hand and help me finish my first project. I will do it myself, but online communication and presence are very necessary. One of the urgent tasks is to implement multilingualism ..)
Answer the question
In order to leave comments, you need to log in
1) You need to create a mail.php file, with the code
<?php
$name = $_POST['name'];
$email = $_POST['email'];
$phone = $_POST['phone'];
$message = $_POST['message'];
$name = htmlspecialchars($name);
$email = htmlspecialchars($email);
$phone = htmlspecialchars($phone);
$message = htmlspecialchars($message);
$name = urldecode($name);
$email = urldecode($email);
$phone = urldecode($phone);
$message = urldecode($message);
$name = trim($name);
$email = trim($email);
$phone = trim($phone);
$message = trim($message);
if (mail("[email protected]", "Заявка с сайта", "Телефон: ".$phone." Сообщение: ".$message. "ФИО:".$name.". E-mail: ".$email ." . From: [email protected] \r\n"))
{ echo "сообщение успешно отправлено";
} else {
echo "при отправке сообщения возникли ошибки";
}?>
/fsi.org.ua/
/fsi.org.ua/public_html/
<form action="mail.php" method="POST" class="form contacts-form">
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question