EMAIL

信箱

主任牧師 Senior Pastor
華語堂傳道 Mandarin Pastors
青少年英語傳道 Youth Pastor
兒童傳道 Children Pastor

PHONE NUMBER

聯絡電話

教會辦公室 Office: (858)550-0777
教會幹事 Administrator : (858)717-2079
主任牧師 Senior Pastor: (760)943-9222

GOT A GENERAL QUESTION?

一般問題


[insert_php]
if ($_SERVER[“REQUEST_METHOD”] == “POST”) {
$errorCode = 0;
$sender = filterInput($_POST[“NAME”]);
$email = filterInput($_POST[“EMAIL”]);
$msg = filterInput($_POST[“MSG”]);

if(empty($sender))
$errorCode = bindec(100);

$email = filter_var($email, FILTER_SANITIZE_EMAIL);
if(empty($email) || !filter_var($email, FILTER_VALIDATE_EMAIL))
$errorCode = $errorCode | bindec(10);

$msg = filter_var($msg, FILTER_SANITIZE_STRING);
if(empty($msg))
$errorCode = $errorCode | bindec(1);

if($errorCode == 0) {
//output data for jquery
echo ”

“;
echo ”

” . $sender . “

“;
echo ”

“;

//email data
$to = “aehtsai@gmail.com”;
$subject = “詢問通知from BOLSD.org”;
$body = “From: ” . $sender . “\nEmail: ” . $email . “\n\n” . $msg;
$cc = “Cc: bolsd777@gmail.com\n”;
mail($to, $subject, $body, $cc);
}
else {
//output data for jquery
echo ”

“;
}
}

function filterInput($input) {
$out = trim($input);
$out = stripslashes($input);
$out = htmlspecialchars($input);
return $out;
}
[/insert_php]

CHURCH ADDRESS

教會地址

7084 Miramar Rd
San Diego, CA92121

CHURCH INFO

教會資訊

1樓   會堂    
2樓   青少年中心
3樓   教會辦公室、兒童中心
4樓   歡迎教會機構或個人出租