Hi, need some help - everything works fine, except one problem, I've been editing 'comprueba.php' and can't find in this fragment;
$headers = "From: ".$from."\r\n";
$headers .= "Return-Path: ".$from."\r\n";
$headers .= "Content-type: text/html; charset=UTF-8 \r\n";
a matching variable that will actually when I get the e-mail show the e-mail that the user put in the form, I'm either blind or haven't had enough coffee
EDIT:
$headers = "From: ".$_POST['contact'][$tr_cont['Em']]."\r\n";
$headers .= "Return-Path: ".$_POST['contact'][$tr_cont['Em']]."\r\n";
$headers .= "Content-type: text/html; charset=UTF-8 \r\n";
does the job.
$headers = "From: ".$from."\r\n";
$headers .= "Return-Path: ".$from."\r\n";
$headers .= "Content-type: text/html; charset=UTF-8 \r\n";
a matching variable that will actually when I get the e-mail show the e-mail that the user put in the form, I'm either blind or haven't had enough coffee
EDIT:
$headers = "From: ".$_POST['contact'][$tr_cont['Em']]."\r\n";
$headers .= "Return-Path: ".$_POST['contact'][$tr_cont['Em']]."\r\n";
$headers .= "Content-type: text/html; charset=UTF-8 \r\n";
does the job.