// Script Name: PHP Contact Mailer
// Set page variables.
$title = "Contact Us";
$back = "";
$bg = 'FFFFFF';
$text = '000000';
$link = '000000';
$vlink = '000000';
$trans = 'spinoutin';
$btntag = 'text=000000 insetselection';
$txtbxtag = 'bgcolor=FFFFFF text=000000 cursor=ff autoactivate nohighlight';
// Remove < and > from the email message.
$msg = str_replace("<","",$msg);
$msg = str_replace(">","",$msg);
// Set email variables.
$your_email = 'admin@vbmatch.com';
$your_name = 'Ernest';
$your_link = 'http://www.vbmatch.com';
$contact_msg = "
Name: $name Email: $email Subject: $sub Message: $msg "; // Begin the sendmail routine. if ($send) { if (!$name || !$email || substr_count($email, '@') < 1 || substr_count($email, '.') < 1 || !$sub) { print << Error! Please go back and correct the errors listed below:
|