Help with simple PHP code?
<?php
if ($_POST["mail"]<>'') {
$ToEmail = 'xxx@yyy.com';
$EmailSubject = 'Contact Form';
$mailheader = "From: ".$_POST["mail"]."\r\n";
$mailheader .= "Reply-To: ".$_POST["mail"]."\r\n";
$mailheader .= "Content-type: text/html; charset=iso-8859-1\r\n";
$MESSAGE_BODY = "Name: ".$_POST["name"]."\r\n";
$MESSAGE_BODY .= "Email: ".$_POST["mail"]."\r\n";
$MESSAGE_BODY .= "Comment: ".$_POST["message"]."\r\n";
mail($ToEmail, $EmailSubject, $MESSAGE_BODY, $mailheader) or die ("Failure");
header("location:index.html");
}
?>
Do you buy competitor backlink data from the likes of MajesticSEO / SEOProfiler / SEOMoz / AHRefs?
Manage it with Backlinks Explorer to help you get more backlinks more quickly.
Sharing the love!
Easy-to-Install Wordpress Plugin - SMS Points System
Get started on DigitalOcean with DOCasts!