
I've created some if / else statements to get a download when a user hit click jf he fields name and email but doesn"t work for my site because it is do download without field name and email contact.php is
name = $POST['cf_name']; $fieldemail = $POST['cf_email']; $fieldmessage = $POST['cf_message'];
$mail_to = 'dedalusonline@yahoo.com'; $subject = 'Message from a site visitor '.$field_name;
$bodymessage = 'From: '.$fieldname."\n"; $bodymessage .= 'E-mail: '.$fieldemail."\n"; $bodymessage .= 'Message: '.$fieldmessage;
$headers = 'From: '.$field_email."\r\n"; $headers .= 'Reply-To: '.$field_email."\r\n";
$mailstatus = mail($mailto, $subject, $body_message, $headers);
if ($mail_status) { echo ""; }?>
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.