BACK

 

aircraft financing, aircraft finance, aircraft loans, aircraft loan, airplane loans, airplane loan, airplane financing, airplane financing, loan services

 

 
Google

 

t; if(!is_array($element_value)){if(!empty($element_value)){$set = 1;}} else { foreach($element_value as $value){if($set){break;} recursive_array_check_blank($value);} } } recursive_array_check_blank($form_input); if(!$set){$errors[] = "You cannot send a blank form";} // Strip HTML tags from all fields. function recursive_array_check2(&$element_value) { if(!is_array($element_value)){$element_value = strip_tags($element_value);} else { foreach($element_value as $key => $value){$element_value[$key] = recursive_array_check2($value);} } return $element_value; } recursive_array_check2($form_input); // Validate name field. if(isset($form_input['name']) && !empty($form_input['name'])) { if(preg_match("`[\r\n]`",$form_input['name'])){$errors[] = "You have submitted an invalid new line character";} if(preg_match("/[^a-z' -]/i",stripslashes($form_input['name']))){$errors[] = "You have submitted an invalid character in the name field";} } else { $errors[] = "Please provide a name"; } // Display any errors and exit if errors exist. if(count($errors)){ print "

Please go back and correct the following fields:

"; print ""; exit; } // Build message. //function build_message($request_input){if(!isset($message_output)){$message_output = "";}if(!is_array($request_input))//{$message_output = $request_input;}else{foreach($request_input as $key => $value){if(!is_numeric($key)){$message_output .= //"\n".$key.": ".build_message($value);}else{$message_output .= "\n".build_message($value);}}}return $message_output;} //$message = build_message($form_input); $message = "Full Name:\t".$form_input['name'] . "\n" . "Diagnosed Date:\t".$form_input['diagMonth']."-".$form_input['diagDay']."-".$form_input['diagYear']."\n" . "Follow Up:\n\t" . $form_input['method1']."\n\t" . $form_input['method2']."\n\t" . $form_input['method3']."\n" . "Prior Counsel:\t".$form_input['priorCounsel']."\n" . "Comments:\n\n".$form_input['comments']."\n" . "----------------------------------------\n" . "Path:\n".$_SESSION['track']."\n" . "IP Address:\t".$_SERVER['REMOTE_ADDR']; $message = stripslashes($message); $subject = "Internet Lead - MAA[2]"; $headers = "From: "."part2@maacenter.org" . "\n" . "Return-Path: "."part2@maacenter.org"."\n" . "Reply-To: "."part2@maacenter.org" . "\n"; //$headers = "From: ".$form_input['Email'] . "\n" . "Return-Path: " . $form_input['Email'] . "\n" . "Reply-To: " . $form_input['Email'] . "\n"; mail($my_email,$subject,$message,$headers); ?>