Do not receive letters from the form to the mail domain, what could be the problem? The paths to the eshkn on the buttons are correctly set, checked everything, and in general it worked before.
HTML:
<div class="signup-header"> <form class="form-header" action="contactengine.php" role="form" method="POST" id="#"> <input type="hidden" name="u" value="503bdae81fde8612ff4944435"> <input type="hidden" name="id" value="bfdba52708"> <div class="form-group"> <input class="form-control input-lg" name="name" id="name" type="text" placeholder="Name" required> </div> <div class="form-group"> <input class="form-control input-lg" name="telephone" id="telephone" type="tel" placeholder="Phone" required> </div> <div class="form-group last"> <input type="submit" class="btn btn-warning btn-block btn-lg" value="Send"> </div> </form> </div> PHP:
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Π‘ΠΎΠ·Π΄Π°Π½ΠΈΠ΅ ΡΠΎΡΠΌΡ ΠΎΠ±ΡΠ°ΡΠ½ΠΎΠΉ ΡΠ²ΡΠ·ΠΈ</title> <meta http-equiv="Refresh" content="1; URL=http://ΡΠ°ΠΉΡ"> </head> <body> <?php $sendto = "ΠΏΠΎΡΡΠ° ΠΊΡΠ΄Π°"; // ΠΏΠΎΡΡΠ°, Π½Π° ΠΊΠΎΡΠΎΡΡΡ Π±ΡΠ΄Π΅Ρ ΠΏΡΠΈΡ
ΠΎΠ΄ΠΈΡΡ ΠΏΠΈΡΡΠΌΠΎ $username = $_POST['name']; // ΡΠΎΡ
ΡΠ°Π½ΡΠ΅ΠΌ Π² ΠΏΠ΅ΡΠ΅ΠΌΠ΅Π½Π½ΡΡ Π΄Π°Π½Π½ΡΠ΅ ΠΏΠΎΠ»ΡΡΠ΅Π½Π½ΡΠ΅ ΠΈΠ· ΠΏΠΎΠ»Ρ c ΠΈΠΌΠ΅Π½Π΅ΠΌ $usertel = $_POST['telephone']; // ΡΠΎΡ
ΡΠ°Π½ΡΠ΅ΠΌ Π² ΠΏΠ΅ΡΠ΅ΠΌΠ΅Π½Π½ΡΡ Π΄Π°Π½Π½ΡΠ΅ ΠΏΠΎΠ»ΡΡΠ΅Π½Π½ΡΠ΅ ΠΈΠ· ΠΏΠΎΠ»Ρ c ΡΠ΅Π»Π΅ΡΠΎΠ½Π½ΡΠΌ Π½ΠΎΠΌΠ΅ΡΠΎΠΌ $message = $_POST['message']; // Π€ΠΎΡΠΌΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅ Π·Π°Π³ΠΎΠ»ΠΎΠ²ΠΊΠ° ΠΏΠΈΡΡΠΌΠ° $subject = "ΠΠ°ΡΠ²ΠΊΠ° Ρ ΡΠ°ΠΉΡΠ°"; $headers = "From: " . strip_tags("ΠΏΠΎΡΡΠ° ΠΊΡΠ΄Π°") . "\r\n"; $headers .= "Reply-To: ". strip_tags("ΠΏΠΎΡΡΠ° ΠΊΡΠ΄Π°") . "\r\n"; $headers .= "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html;charset=utf-8 \r\n"; // Π€ΠΎΡΠΌΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅ ΡΠ΅Π»Π° ΠΏΠΈΡΡΠΌΠ° $msg = "<html><body style='font-family:Arial,sans-serif;'>"; $msg .= "<h2 style='font-weight:bold;border-bottom:1px dotted #ccc;'>CΠΎΠΎΠ±ΡΠ΅Π½ΠΈΠ΅ Ρ ΡΠ°ΠΉΡΠ°</h2>\r\n"; $msg .= "<p><strong>ΠΡ ΠΊΠΎΠ³ΠΎ:</strong> ".$username."</p>\r\n"; $msg .= "<p><strong>Π’Π΅Π»Π΅ΡΠΎΠ½:</strong> ".$usertel."</p>\r\n"; $msg .= "<p><strong>Π‘ΠΎΠΎΠ±ΡΠ΅Π½ΠΈΠ΅:</strong> ".$message."</p>\r\n"; $msg .= "</body></html>"; // ΠΎΡΠΏΡΠ°Π²ΠΊΠ° ΡΠΎΠΎΠ±ΡΠ΅Π½ΠΈΡ if(@mail($sendto, $subject, $msg, $headers)) { echo "<center>Π‘ΠΏΠ°ΡΠΈΠ±ΠΎ, ΠΌΡ ΡΠ²ΡΠΆΠ΅ΠΌΡΡ Ρ ΠΠ°ΠΌΠΈ Π² Π±Π»ΠΈΠΆΠ°ΠΉΡΠ΅Π΅ Π²ΡΠ΅ΠΌΡ!</center>"; } else { echo "<center>ΠΡΠΈΠ·ΠΎΡΠ»Π° ΠΎΡΠΈΠ±ΠΊΠ°, ΠΏΠΎΠΏΡΠΎΠ±ΡΠΉΡΠ΅ ΡΠ½ΠΎΠ²Π°!</center>"; } ?> </body> </html>
To,FromandReply-Todo you have the same? - Visman