hi

iv got phpmailer and recaptcha together but im stuck.

iv integrated recaptcha within my php form and im stuck on this part where it validates recaptcha and then if success i want it to submit the form to phpmailer.

please see the following code

// redirect to success page 
if ($success){
 header( 'Location: ../Scripts/_lib/phpmailer-fe.php'); 
}
else{
  print "<meta http-equiv=\"refresh\" content=\"0;URL=error.html\">";
}

your help is appreciated as im desperate

tried to run phpmailer-fe.php as a function and it results in a white page.

really stressing. may offer reward if someone can do this

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.