Your Enquiry

0))
{
die(‘Error, Name field is empty’);
$error=1;
}
if (!(strlen($f_email)>0))
{
die(‘Error, Email field is empty’);
$error=1;
}
if (!(strlen($f_telephone)>0))
{
die(‘Error, Telephone field is empty’);
$error=1;
}
if (!(strlen($f_enquiry)>0))
{
die(‘Error, Enquiry field is empty’);
$error=1;
}
if(eregi(“MIME”,$fieldstocheck))
{
die(‘Get out, spammer.’);
$error=1;
}
if(eregi(“@”,($f_yourname)))
{
die(‘Invalid characters in name’);
$error=1;
}
if(eregi(“www”,$fieldstocheck))
{
die(‘Invalid characters in data’);
$error=1;
}
if (eregi(“http”,$fieldstocheck))
{
die(‘Invalid characters in data’);
$error=1;
}
if (eregi(“Content-Type”,$fieldstocheck))
{
die(‘Get out, spammer.’);
$error=1;
}
if(eregi(“charset”,$fieldstocheck))
{
die(‘Get out, spammer.’);
$error=1;
}
if ($error==0)
{
// Send Email
$strSubject=”WebDevForager Enquiry”;
$headers = “From: [email protected]\n”;
$headers .= “MIME-Version: 1.0\n”;
$headers .= “Content-type: text; charset=iso-8859-1\n”;
$headers .= “Reply-To: [email protected] \n”;
$headers .= “X-Priority: 1\n”;
$headers .= “X-MSMail-Priority: High\n”;
$headers .= “X-Mailer: My mailer”;
$strMessage=”The following submission has been made to the WebDevForager Website\n\n”;
$strMessage=”Name: “.$f_yourname.”\n”;
$strMessage.=”Email: “.$f_email.”\n”;
$strMessage.=”Telephone: “.$f_telephone.”\n”;
$strMessage.=”Enquiry: \n”.$f_enquiry.”\n”;
mail(“[email protected]”, $strSubject, $strMessage,$headers);
}

?>
Thank You .

Your enquiry has been forwarded and we will revert as soon as possible.

To your success,

The WebDevForager