title: Reply-to header in contact form PHP
body: <pre><code>// Subject of your email
  $subject = $_REQUEST['subject'] . ' - Personal website contact form submittion.'; 
  // Recipient's E-mail
  $to = 'recipient@domain.com';
  
  $headers  = 'MIME-Version: 1.0' . "\r\n";
  $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
  // Sender's E-mail
  $headers .= "From: Contact Form (Domain.com) &lt;no-reply@domain.com&gt;"; 
  $message .= 'Name: ' . $_REQUEST['name'] . "&lt;br&gt;";
  $message .= 'Email: ' . $_REQUEST['email'] . "&lt;br&gt;";
  $message .= 'Message: ' . $_REQUEST['message'] . "&lt;br&gt;";
  
  if (@mail($to, $subject, $message, $headers)) {
      // Transfer the value 'sent' to ajax function for showing success message.
    echo 'sent';
  } else {
    // Transfer the value 'failed' to ajax function for showing error message.
    echo 'failed';
  }
  </code></pre>
  
  <p>How do I put reply-to header here?
  Reply-to email should be the email that person enters while filling up the form, I don't know PHP can anyone help me out? thanks</p>