true, 'phone' => false, 'email' => true, 'message' => true, ); $filled=array(); $err=array(); ############################################################################################# # Initialize # ############################################################################################# if ($_REQUEST['a'] == 'submit') { fillAndCheck(); if (!$err) { sendEmail(); } } openPage("Dentist, Red Bank, NJ"); ############################################################################################# # Functions # ############################################################################################# function fillAndCheck() { global $fields, $filled, $err; while (list($field,$req)=each($fields)) { if ($req and !$_REQUEST[$field]) { $err[$field]=true; } else { $filled[$field]=trim(stripslashes($_REQUEST[$field])); } } // The following code prevents attempts to use the contact form // for bulk mail attacks by filtering out illegal characters // and other items that would attempt to recondition the email headers $secureFields=array( 'name', 'email', ); foreach ($secureFields as $field) { if (preg_match("/Bcc:|To:|Cc:|\r|\n/i", $filled[$field]) or strlen($filled[$field]) > 255) { $err[$field]=true; } } // Email must be valid (very simple validation) if (preg_match("/\s/", $filled['email']) or !preg_match("/^[^@]+@.+\..+$/", $filled['email'])) { $err['email']=true; } } function sendEmail() { global $EmailSettings, $filled, $sendmail; $fromName = $filled['name']; $fromEmail = $filled['email']; $subject = "LisaLatellaDMD.com - Contact Form"; $emailMsg = << Subject: $subject To: "$EmailSettings[toName]" <$EmailSettings[toEmail]> Bcc: $EmailSettings[bcc] MIME-Version: 1.0 Content-type: text/html; charset=us-ascii $subject
From: $filled[name]
Email: $filled[email]
Phone: $filled[phone]
$filled[message] END; // Send email $handle = popen("$sendmail -t -f $fromEmail", "w"); fwrite($handle, $emailMsg); pclose($handle); } ############################################################################################# # PRINT PAGE # ############################################################################################# ############################################################################################# # Leftbar # ############################################################################################# ?>

Contact Us

Lisa Latella, DMD
Two River Family Dental Center
191 Broad Street
Red Bank, NJ 07701

Phone 732-747-2022
Email


Quick Contact


Use this form to send us a quick email.
"; printSuccessMessage( "Thank you!", 'We will respond to your message soon.
Send another message' ); } } if ($_REQUEST['a'] != 'submit' or $err) { ?>

Welcome to Our Dental Practice

Dr. Lisa Latella and our entire staff welcomes you to our practice's Web site. Check back often as we'll be updating our Web site with more information about our office and services in the future. In the meantime, please feel free to contact us if you have any questions.

We strive to provide you and your family with the highest level of dental care so that we may help you achieve optimal dental health and a beautiful smile. We want you to be as comfortable as possible during treatment. Our caring staff, spacious office and state-of-the-art equipment will make your visit a relaxing and pleasant experience.

Please call or stop in to schedule an appointment. We look forward to your visit and getting to know you!


Location


Our office is conveniently located in Red Bank, NJ, right on Broad Street. Click on the map for an enlarged view and to print door-to-door driving directions.