Answer the question
In order to leave comments, you need to log in
How to disable links in PHP?
The site has a feedback form, there is a code for processing it:
<?php
$name = $_REQUEST['name'];
$email = $_REQUEST['email'];
$message = $_REQUEST['message'];
$headers= "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html;charset=utf-8 \r\n";
$headers .= "From: От кого письмо <[email protected]>\r\n";
$sub = "У тебя новая заявка";
$message = "<p><strong>Имя:</strong> $name</p>
<p><strong>Email:</strong> $email</p>
<p><strong>Сообщение:</strong> $message</p>";
$send = mail( "[email protected]", $sub,
$message, $headers );
header( "Location: thanks.html");
?>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question