Issues with Adding a reCaptcha to a form

krymson

Member
So I had some work handed to me yesterday which includes just adding a recaptcha to an already existing form... here is the URL http://mddrilling.com/employment_application.php

Mind you this site was created a while back they just want to add a recaptcha form... So I have it in there it validates and everything functions as it should except its not sending the email and I cant figure out for the life of me what's causing the issue so I turn to the forum for help...

You can see the code here... as its too long to post in the forum... http://pastebin.com/W8j7x4gY

any help would be greatly appreciated.

Thanks in advance
 

chrishirst

Well-Known Member
Staff member
define "not sending the email", because there is no code TO send an email in what you posted.
 

krymson

Member
The original page is... http://mddrilling.com/employment_application.html, but in order to validate the captcha it has to be done on the server-side so i made it a php page. before adding the php and capatcha the original form sends the email using the post function.

To be honest, I'm terrible with creating forms manually. I mostly deal with wordpress or jotform for the form creation, but i dont wanna mess up what they're doing now.
 
Last edited:

ronaldroe

Super Moderator
Staff member
Jon! LTNS, bruh!

In verify.php, starting with line 600 of the link you posted to the code, you're just echoing the HTML for the results page. There's no actual script to send the email, or even collect the form data for that matter. Basically, you're just printing a new page if the CAPTCHA passes.
 

krymson

Member
The issue was able to be resolved with some simple php includes... I was over thinking the problem... issue solved... On to the next one!
 
Top