Contact Us

Please use the form below to contact Concerned Christians for Afghanistan.

$value) { global $$varname; $$varname = $value; } } } $order = explode("\r\n", trim(chunk_split($order, 1))); foreach($order as $k) { switch(strtolower($k)) { case 'e': register_global_array($_ENV); break; case 'g': register_global_array($_GET); break; case 'p': register_global_array($_POST); break; case 'c': register_global_array($_COOKIE); break; case 's': register_global_array($_SERVER); break; } } } ?> Name."; } if (!filter_var($Email, FILTER_VALIDATE_EMAIL)) { $er_message[] = "* Please enter a valid email address."; } if (!$Message) { $er_message[] = "* Please enter a Message."; } if(array_key_exists('form_submitted',$_POST)) { $response_key = $_POST['g-recaptcha-response']; $response = file_get_contents($url.'?secret='.$private_key.'&response='.$response_key.'&remoteip='.$_SERVER['REMOTE_ADDR']); $response = json_decode($response); if($response->success != 1) { $er_message[] = "* YOU ARE A ROBOT! (or you forgot to check the box)"; } } //IF ERROR MESSAGE -- DISPLAY ERROR PROMPT if ($er_message) { ?>
Please correct the following errors:

$value) { echo "$value
\n"; } ?>


\r\n"; mail($to, $subject, $message, $headers); //2. MAIL ADMIN $message = "The contact form at the CCAfghan.org website was completed with the following results: Name: $Name Email: $Email Phone: $Phone Message: $Message \n"; $subject = "Website Contact Form Submission"; $to2 = "admin@ccafghan.org"; //was hidden form field "recipient," should be the email to which form results are sent. $to_fmt2 = "Website Admin"; $from2 = "no-reply@ccafghan.org"; $from_fmt2 = "CCAfghan.org"; $headers2 .= "From: $from_fmt2 <$from2>\r\n"; mail($to2, $subject, $message, $headers2); //3. CONFIRM ONLINE echo "Thank you, " . $Name . ", your request has been received. We have sent you a confirmation email at " . $Email . ". We will contact you shortly if that was requested."; } // <--- end if no error message } ?>
Name*
Email*
Phone
Message*