CONTACT US
For reaching us, please fill out the following form: (* required fields)
\n";
// check to see if a name was entered
if (!$_POST['Name'])
$errors[] = "Name is required";
if (!$_POST['e_mail'])
$errors[] = "E-mail is required";
// if there are any errors, display them
if (count($errors)>0) {
foreach($errors as $err)
echo "$err
\n";
echo "
Please use your browser's Back button to fix.";
} else {
// no errors, so we build our message
switch($_POST['color']){
case 'red':
$recipient = 'redperson@myaddress.com';
break;
default:
$recipient = 'balen.grillo@rogers.com';
}
$subject = "Contact to Beacon to the Ancestors";
$from = stripslashes($_POST['Name']);
$msg = "Message sent by $from\n";
$msg.="\nAddress: ".$_POST['Address'];
$msg.="\nCity: ".$_POST['City'];
$msg.="\nProvince: ".$_POST['Province'];
$msg.="\nCountry: ".$_POST['Country'];
$msg.="\nCode: ".$_POST['Code'];
$msg.="\nPhone: ".$_POST['Phone'];
$msg.="\ne_mail: ".$_POST['e_mail'];
$member=($_POST['member'])?"Member: Yes":"Member: No";
$donate=($_POST['donate'])?"Donate: Yes":"Donate: No";
$info=($_POST['info'])?"Information: Yes":"Information: No";
$msg.="\n$member\n$donate\n$info";
$msg.="\n".stripslashes($_POST['MsgBody'])."\n";
if (mail($recipient,$subject,$msg)){
echo "
We'll contact you soon!
";
echo nl2br($msg);
} else
echo "An unknown error occurred.";
}
}
?>
"When the Stars revolve about the North Pole, they are longing for our growing consciousness"
Jeleuddin Rumi 13th c. Sufi poet