Use Back - Enter valid e-mail\n";
$badinput = "Feedback was NOT submitted
\n";
echo $badinput;
}
if (eregi('http:', $notes)) {
die ("Do NOT try that! ! ");
}
if(empty($visitor) || empty($visitormail) || empty($company) || empty($telephone) || empty($notes )) {
echo "Use Back - fill in all fields
\n";
}
$todayis = date("l, F j, Y, g:i a") ;
$attn = $attn ;
$subject = $attn;
$company = $company;
$telephone = $telephone;
$notes = stripcslashes($notes);
$message = " $todayis [EST] \n
From: $visitor ($visitormail)\n
Company: $company \n
Telephone: $telephone \n
Subject: $attn \n
Message: $notes \n
";
$from = "From: $visitormail\r\n";
$to = 'cpa@ctdi.com.ph, ofelia.flores@ctdi.com.ph';
mail($to, $subject, $message,$from);
?>
Date:
Thank You : ( )
Company :
Telephone :
Subject:
Message:
", $notes);
echo $notesout; ?>