$recaptcha_secret, //<--- your reCaptcha secret key 'response' => $recaptcha_response ); curl_setopt($curlx, CURLOPT_POSTFIELDS, $post_data); $resp = json_decode(curl_exec($curlx)); curl_close($curlx); // for reCAPTCHA v3 end if ($resp->success&&$resp->score>0.8){ ## request extract($_REQUEST); $to = get_cfg('company_email'); $from = $email; $subject = "CHAT CHAT Anywhere Member Card Registration"; if ($email!=""){ $headers = "From: ".strip_tags($from)."\r\n"; $headers .= "Reply-To: ".strip_tags($from)."\r\n"; $headers .= "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=utf-8\r\n"; $r=''; foreach($_REQUEST as $k=>$g){$r .= $k."=".$g.",
";} $mail_template_content = ' CHAT CHAT Anywhere Member Card Registration

Client information are as follow:
=========================================
Name : '.$name.' 
E-mail : '.$email.'
Phone Number : '.$phone_1.'
Address : '.$enquiry.'
=========================================

Date:'.date("Y-m-d",time()).'

'; $body = $mail_template_content; send_email($from, $from, $subject, $to, $to, $body); } unset($_REQUEST['email']); } ?>

CHAT CHAT Anywhere Member Card Registration

Thank you for your registration.

We shall mail you a "CHAT CHAT Anywhere" member card within 3 working days.

Upon receipt of the member card, just bring the card to any 7-ELEVEN to recharge HK$100 within 7 days, you can get extra HK$20 value.

For any enquiries, please call our customer service hotline 8106 1649.