Contact Falcon Lofts

Please feel free to contact us with your questions and concerns about our rare colored racing pigeons.

Tel: 818-517-8669

Email: info@falconlofts.com

Please complete all required fileds.
'; include ('form.inc'); } else { $_SESSION['fullname'] = $_POST['name']; $_SESSION['companyname'] = $_POST['company']; $_SESSION['emailfrom'] = $_POST['emailfrom']; $_SESSION['tel'] = $_POST['tel']; $_SESSION['selectfrom'] = $_POST['select']; $_SESSION['comments'] = $_POST['Comments']; // get posted data into local variables $EmailTo = "Vahe@vahedala.com"; $Subject = "Falcon Lofts Contact Form"; $namef = Trim(stripslashes($_POST['name'])); $telf = Trim(stripslashes($_POST['tel'])); $emailf = Trim(stripslashes($_POST['emailfrom'])); $commentsf = Trim(stripslashes($_POST['comments'])); $selectf = Trim(stripslashes($_POST['select'])); $companyf = Trim(stripslashes($_POST['company'])); $Info = Trim(stripslashes ($_POST['Info'])); // validation $validationOK=true; if (Trim($namef)=="") $validationOK=false; if (Trim($telf)=="") $validationOK=false; if (Trim($emailf)=="") $validationOK=false; if (Trim($Info)!="") $validationOK=false; if (!$validationOK) { print "
It looks like you forgot to complete all the required fields.
"; include ('form.inc'); } elseif ($validationOK) { // prepare email body text $Body = ""; $Body .= "Name: "; $Body .= $namef; $Body .= "\n"; $Body .= "Company: "; $Body .= $companyf; $Body .= "\n"; $Body .= "Tel: "; $Body .= $telf; $Body .= "\n"; $Body .= "Email: "; $Body .= $emailf; $Body .= "\n"; $Body .= "Type of Service: "; $Body .= $selectf; $Body .= "\n"; $Body .= "Comments: "; $Body .= $commentsf; $Body .= "\n"; // send email $success = mail($EmailTo, $Subject, $Body, "From: <$emailf>"); // redirect to success page if ($success){ print ""; } else{ print "The message could not be sent. Please try again in a few minutes."; } }} ?>