Hi Experts…
I am working on this beautiful sunday night Please help
After wasting whole 2 days with fiveer php person,
i (Graphics Designer, Not a coder) somehow understood by forums and youtube videos and
enabled google recaptcha for my email form,
now captcha work fine, but i am unable to get filled value in my email back from the form.
[php]
Contact request details
Name: ".$name."
Email: ".$email."
Message: ".$message."
"; // Always set content-type when sending HTML email $headers = "MIME-Version: 1.0" . "\r\n"; $headers .= "Content-type:text/html;charset=UTF-8" . "\r\n"; $headers .= 'From:'.$name.' <'.$email.'>' . "\r\n"; //send email mail($to,$subject,$html_Content,$headers,"From:".$email_from); $succMsg = 'Your contact request have submitted successfully.'; $name = ''; $email = ''; $message = ''; $to = ''; $from = ''; $headers = ''; header('Location: http://www.mydomain.com/thankyou.htm'); else: $errMsg = 'Robot verification failed, please try again.'; endif; else: $errMsg = 'Please click on the reCAPTCHA box.'; endif; else: $errMsg = ''; $succMsg = ''; $name = ''; $email = ''; $message = ''; $to = ''; $from = ''; $headers = ''; endif; ?>[/php]
[php]
Using new Google reCAPTCHA with PHP by CodexWorld