";
$BridesFullName=$_POST['BridesFullName'];
$GroomFullName=$_POST['GroomFullName'];
$validemailaddress=$_POST['validemailaddress'];
$PhoneNumberincludingAreaCode=$_POST['PhoneNumberincludingAreaCode'];
$LocationandAddressofEvent=$_POST['LocationandAddressofEvent'];
$LocationandAddressofEvent=preg_replace("/(\015\012)|(\015)|(\012)/","
", $LocationandAddressofEvent);$DateofEvent=$_POST['DateofEvent'];
$TimeofEvent=$_POST['TimeofEvent'];
$SpecialRequestsofInformation=$_POST['SpecialRequestsofInformation'];
$SpecialRequestsofInformation=preg_replace("/(\015\012)|(\015)|(\012)/","
", $SpecialRequestsofInformation);if($BridesFullName=="" ){
$errors=1;
$error.="
BridesFullName is required. Please go back and try again.
";
}
if($GroomFullName=="" ){
$errors=1;
$error.="GroomFullName is required. Please go back and try again.
";
}
if($validemailaddress=="" ){
$errors=1;
$error.="validemailaddress is required. Please go back and try again.
";
}
if($PhoneNumberincludingAreaCode=="" ){
$errors=1;
$error.="PhoneNumberincludingAreaCode is required. Please go back and try again.
";
}
if($LocationandAddressofEvent=="" ){
$errors=1;
$error.="LocationandAddressofEvent is required. Please go back and try again.
";
}
if($DateofEvent=="" ){
$errors=1;
$error.="DateofEvent is required. Please go back and try again.
";
}
if(!eregi("^[a-z0-9]+([_\\.-][a-z0-9]+)*" ."@"."([a-z0-9]+([\.-][a-z0-9]+)*)+"."\\.[a-z]{2,}"."$",$validemailaddress)){
$error.="Invalid email address entered";
$errors=1;
}
$sender_email = "$validemailaddress";
if($errors==1) echo $error;
else{
while (list ($key, $val) = each ($_POST)){
if ($key != "SEND"){
if ($val != ""){
$message .= "$key: $val\n";
}
}
}
$message = stripslashes($message);
$message .= $upload;
mail("bobby@crossroadspros.com","Wedding Video for a new Bride",$message,"From:$sender_email");
print "";
print "Continue";
}
}?>
All fields marked with a * are required: