Hi, great tutorial, basically the only one that worked for me. I have a question though: When the captcha box isn't checked and the echo message "Please go back and make sure you check the security CAPTCHA box" displays, how do I go by calling a custom page that tells that they need to go back and check the box? I kind of try to make it match with the rest of my site. I was able to add a custom thank you page, but can't do it for the no-captcha page the same way I did with the thank you page. Or, is it possible to simply have the text appear on the same page and not load another white page with the warning text? I hope you will reply... Thank you
You can have the error message show up on the same page by using an if/else statement to check if the form has been submitted. I just updated the code which can be found in the description of this video to show you and others how to do this.
Can you also have the message "Your message has been sent" appear on the same page after the form clears or do I have to design a different page to relay that message?
@@darleneharrison6563 you can do it with Javascript, there are plenty of examples on the internet. Just Google : "alert message in PHP, you'll get a familiar snippet, where you can specify your message, and it will appear on the same page after the right statement.
I've been fighting with this for several days. Could have been solved in 7 minutes if I found this first. Thank you a million! Now if only a multi-billion dollar corporation like Google could hire good tutorial writers.... I guess we can't ask for everything.
Thank you for this video. My php form code was a bit different, but I was able to figure it out and make it work. Now my contact form is secure from the bots who were interacting with my form. Thanks again!
Making Spider Sense...I am very pleased have found you on RUclips. All info- code about the reCAPTCHA 2.0, which you provided, worked perfectly .Stressing on my gratitude; I fully appreciate your info
Ich habe lange nach der Lösung gesucht. und nur hier gefunden! Vielen Dank! Sie beschreiben besser als Google Support. SIE müssen bei Google arbeiten! ;-)
@Making Spider Sense - thanks for the tutorial - the only thing I couldn't work out before viewing your video was the validation but after seeing the PHP code in your video I was able to copy and paste and then easily integrate the code into my custom PHP validation and had it all working first time round, so thanks again, much appreciated
Update: Well since you changed the code to 1 page to handle it and it doesn't match instructions in the video, I wasn't able to get it to work. I even tried taking screen captures of what you had typed out in the video to try the original way, and that didn't work. (I suspect though that there may be a typo in there because there was a double parenthesis I didn't think belonged). I'm currently waiting for server company to let me know if they had permissions turned off for that page still or if it was the issue. I do wish you'd provide the original code for both html and php pages as described in the video, so we have an option to follow the directions either way. Original comment: I haven't done this yet but it's the first really easy sounding, straight forward how-to on google captcha. Thank you so much!
Thank you for this tutorial! Clear and easy to follow. I was struggling to get it to work using the google instructions and was quite frustrated. Tried other tutorials and still - until I came across your video. To bad I didn't find you first! Thank you for sharing, I really appreciate it!
You did an amazing job! You were straight to the point and i learned how to do what was need in a very small amount of time. You really know how to teach. I appreciate your video. Thank you very much.
Thanks man, your tutorials are straight to the point unlike other channels and you included the code as well, keep up the good work your channel will be soon on top of those offering long boring tutorials intended for idiots (they even explain how to install the software in a programming tutorial video!). Please stay this way.
This really is a good video. I was starting with a fresh VM and needed to first install curl libraries to make this work. 'apt-get install php7.1-curl', followed by 'service apache2 restart'. Maybe that will save someone 10 minutes of aggravation.
Thank you for the simple explanation! There are other videos that make it seem more complicated in their explanation of what they say, and seems to be, easy implementation.
Thanks for the great tutorial! I was able to use this to add reCAPTCHA to some old code that spammers had found a weakness in with the old image captcha. Google is not very helpful with implementation.
A great tutorial for setting up a new form and response, but I already have my form in my website's index.html file and need to make it work with the response .php file, can you help at all?
That's fine, since no php code needs to go into the index file, it can be called index.html rather than index.php. Just create a new file for the code once it's been submitted and put the php submission code there.
I cannot seem to make this work. This is the message I continue to receive, "The requested URL was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request." I have saved my file as an html and a php and I get the same results. I have tried to run it as a single page and also as two separate pages like you originally designed and I get the same thing over and over. What I'm I doing wrong.
Dear Sir, I tried to insert your re-captcha code from RUclips, but as soon as I insert the verification code (otherwise checking the captcha is useless), my form disappears !? I tried to insert in many locations without success, any idea why ? Many thanks Kenneth
The only problem I'm having is when the Captcha box is checked and the form submitted, it doesn't take me to the success message. I only get the error message ... any help would be appreciated.
I like that the reCAPTCHA allows just the check mark. However, sometimes when I'm testing the form, I get the more advanced option of having to select 'all the boxes that have a sign or car in it'. Is that a security feature I can turn off, so I can just get the simple check box option? Thanks.
There isn't a setting to turn it off, but you can do it with a little php. See this link for more info: stackoverflow.com/questions/32952726/remove-manual-challenge-from-google-recaptcha-v2
not sure why but my form submissions aren't coming into mailbox.. I'm trying to use the updated version you linked to but I notice it doesn't include the php code for handling the form submission. I'm not sure if that's my problem.. I'd really appreciate your help!!
Hey Xian, just created a tutorial in the Invisible reCaptcha. It's actually not too different. You can check it out on my channel. Thanks for watching!
Hi and thanks for the tutorial! I've taken all the steps and now I have the reCAPTCHA box in my contact form, but a) messages can be sent without using it and b) the error message you get when you submit without checking the captcha appears when the page loads. I'm doubting if I copied the code in the right file. I did it in the template file for the page where I want to use reCAPTCHA. Thanks in advance!!!
does this still work? Instlled and it "looks" great. It does not work. Everything bypassed reCaptcha and just logs in without any interference. How can I get it to actually work?
Great tutorial, thanks. It works well when my form just has the one field named "messagefeed", but how do I make it work when my form has other fields such as "name", "phone", "email" and so on? Your advice would be much appreciated.
Excellent tutorial. Thank you! I was wondering if you (or anyone) could enlighten us about the significance of the api.js file. I am one of those Luddites / security paranoids who still tries to minimize the use of client-side JavaScript if at all possible on the client's browser because JS can be disabled easily by the user. Presumably the recaptcha v2 protected page becomes inaccessible when JS is turned off by the client, is that correct? Also would appreciate your thoughts about the invisible recaptcha vs. recaptcha v2 in terms of privacy. My understanding is that at least the invisible (if not also the v2) works basically by tracking users and confirming that their history is consistent with a human rather than a robot.
Thanks for watching! This is a quote from Google's developer page "reCAPTCHA can only provide the optimal experience in terms of security and usability with JavaScript enabled. However, if supporting users who have disabled JavaScript is important for your site, you can enable the alternative challenge with the following steps. Navigate to the admin console and move the security preference slider to "easiest for users". Keep in mind that with this setting reCAPTCHA won't be able to use all of its security features." I'm not sure which reCaptcha is more secure. Possibly v2 as it requires an extra step, but I can't say for certain since I don't know exactly how either reCaptcha works.
What do I do if my contact form is already a working form set up in php, including an auto thank you response to the client, and of course an email to me? How do I integrate reCAPTCHA?
I didn't really explain the email code because it didn't have anything to do with the reCaptcha. You could put whatever code you want to run there. But here is an explanation of it from w3schools: www.w3schools.com/php/func_mail_mail.asp
Thanks for this tutorial. the form always return the "invalid" message no matter if I checked the captcha or not. i double check the codes. Do you know what the problem could be?
It's possible you mixed up the keys. I do have a link to the code in the description. When I get stuck on something like this, I usually create a new test project with only the necessary code just to see if I can get it working. That way you'll know if some other code on your page is interfering. So maybe try that out.
If form action is kept as recaptcha-v2.php as given in your ready file, then how will the email go? I have CGI script that I'm using. Please help if you can.
So does that mean you're getting the error message "Please go back and make sure..." and the email is still sending? If so, make sure you are putting your mail function in the 'else' part of the if/else statement at the end. Use the code I posted in the description of the video and try to get it just working before integrate it into your website.
Copied your mail function with a few tweaks and it now works. It was an issue with my set up of variables and setting up the mail function. I've never done any PHP before, so just trying to make a simple form and install with the recaptcha was a pain. I can now agree, great tutorial and thanks so much!
You get the undefined index error when you try to call an index in an array that doesn't exist. So somewhere in your code, you've made a call to an array with an index "name", but that index "name" doesn't exist in the array. I don't think the error has to do with the code in the video since "name" isn't anywhere in the code.
hi there! i use it my project but i didn't use any php or server side language there, how can i use it on the submitted page where i want the response message to show without php? any option? its a Angular 4 project. sir, i'm a beginner in web development :) TIA
I have a very troubled problem reCAPTCHA security validation I have to go out to confirm when I go to a site but I do not go out to confirm it on any site and I can not sign up or I can not enter the sites I get confirmation on the laptop but not on the PC please try every way I uploaded my dlls and tried different browsers. I tried the combofix. I did not try adw. I do not want to format the mmm: /
Making Spider Sense Is that a way i can get in contact with you directly? I know it's been a few years since this video was released, but I'm encountering a very simple problem and I need a little help with this. If it won't disturb you too much, i really need your help. Thanks in advance.
Hey, you can reach out to me through the contact form on my website, makingspidersense.com. Please describe your problem in detail and I'll get back to you when I get a chance.
I'm not familiar with Google Forms, but if you are using a WordPress plugin, I'd probably try to find the php code that handles the forms and put the code there. You'll probably have to set your site up with an ftp program. I'm guessing it'll be in a folder labeled 'plugins' which should be right next the the 'themes' folder. Hope that helps!
The one MAIN thing Sir your NOT checking for is what if someone leaves a field empty but they still check the ReCaptcha? What error are they going to get or will the ReCaptcha still work?
That kind of validation is outside of the scope of this video - that is not the purpose of reCaptcha. But to do so, you would need to add conditional statements for each required field to test if they are empty, and if they are, you can echo an error in PHP informing the user to fill out the required fields. A shortcut would be to just add the "required" attribute to the input, but if you go that route, you need to keep in mind that the user can remove that attribute if they know how to use the inspector tool. You might even want to use both HTML and PHP validation.
@@makingspidersense I must first apologize. I love web programming, web design and web development. This feature reCaptcha is a new one on me to use in Web Forms. I'm just trying to figure out how to use it along with validating using PHP in my code. Is there not a code for reCaptcha to where once you clicked on the check box for the reCaptcha, that pop up comes up automatically?
@@robertjb6543 reCaptcha is to protect your form against bots so your are not getting spam submissions. It doesn't check to see if form fields are empty since you may want to allow the user to leave certain fields empty if you consider them optional. If you want to learn how to check if a *required* form field is empty, search for tutorials on PHP form validation - there are many out there.
Hey RaiZdOe, just uploaded a tutorial video on the Invisible reCAPTCHA. Be sure to check it out! The reason I don't have anything to check if the form is empty is because that was not the purpose of this video. I wanted to keep the formal simple.
Im using an old ASP-page I want to add captcha (dont have ASP.NET), can you explain how to implement in ASP? I've gotten a site key, implemented a captcha-box, but my form will send even if I dont check the captcahbox...
I don't really use ASP so I wouldn't know. There are free tools online where you can convert ASP to PHP. Maybe you could try that and then add the code in this video. It's worked for me in the past. Good luck!
This was above my technical abilities. I need a simpler explanation. i have a word press page. If I click on plugins, add the plug in, what do I do next?
Thanks for the great tutorial! I've got mine working, but for some reason, it only reads the initial If statement, and bypasses the else no matter what. So whatever I have in the initial if is executed no matter what, regardless of whether the captcha is verified. I have double checked the keys, any suggestions?
If it's bypassing the 'else' statement, it's probably because the 'if' statement is ringing true every time, which basically means 'success' is not 'true' or '1'. Make sure the keys are associated with the correct domain. Also, make sure steps 1 and 2 are included on the page with the form. Hope that helps!
Hi, great tutorial, basically the only one that worked for me. I have a question though: When the captcha box isn't checked and the echo message "Please go back and make sure you check the security CAPTCHA box" displays, how do I go by calling a custom page that tells that they need to go back and check the box? I kind of try to make it match with the rest of my site. I was able to add a custom thank you page, but can't do it for the no-captcha page the same way I did with the thank you page. Or, is it possible to simply have the text appear on the same page and not load another white page with the warning text? I hope you will reply... Thank you
You can have the error message show up on the same page by using an if/else statement to check if the form has been submitted. I just updated the code which can be found in the description of this video to show you and others how to do this.
Thank you very much, I so much appreciate it, and I bet others will, too! Regards
and I "liked" your facebook page! :)
Can you also have the message "Your message has been sent" appear on the same page after the form clears or do I have to design a different page to relay that message?
@@darleneharrison6563 you can do it with Javascript, there are plenty of examples on the internet. Just Google : "alert message in PHP, you'll get a familiar snippet, where you can specify your message, and it will appear on the same page after the right statement.
Protect this man at all cost! Great tutorial!
Currently in the process of troubleshooting issues with PHP with recaptcha; your video confirmed my installation is correct. Thank you!
I've been fighting with this for several days. Could have been solved in 7 minutes if I found this first. Thank you a million! Now if only a multi-billion dollar corporation like Google could hire good tutorial writers.... I guess we can't ask for everything.
Thank you so much man. Folks like you make life easier to live....
Thank you for this video. My php form code was a bit different, but I was able to figure it out and make it work. Now my contact form is secure from the bots who were interacting with my form. Thanks again!
Making Spider Sense...I am very pleased have found you on RUclips. All info- code about the reCAPTCHA 2.0, which you provided, worked perfectly .Stressing on my gratitude; I fully appreciate your info
Ich habe lange nach der Lösung gesucht. und nur hier gefunden! Vielen Dank! Sie beschreiben besser als Google Support. SIE müssen bei Google arbeiten! ;-)
@Making Spider Sense - thanks for the tutorial - the only thing I couldn't work out before viewing your video was the validation but after seeing the PHP code in your video I was able to copy and paste and then easily integrate the code into my custom PHP validation and had it all working first time round, so thanks again, much appreciated
Confused a bit. Where do you paste step 3? And where do you change something to .php?
Update: Well since you changed the code to 1 page to handle it and it doesn't match instructions in the video, I wasn't able to get it to work. I even tried taking screen captures of what you had typed out in the video to try the original way, and that didn't work. (I suspect though that there may be a typo in there because there was a double parenthesis I didn't think belonged). I'm currently waiting for server company to let me know if they had permissions turned off for that page still or if it was the issue. I do wish you'd provide the original code for both html and php pages as described in the video, so we have an option to follow the directions either way. Original comment: I haven't done this yet but it's the first really easy sounding, straight forward how-to on google captcha. Thank you so much!
will this also work with v3 do you know?
This was awesome! ...and a much better explanation than Google!!
Thank you for this tutorial! Clear and easy to follow. I was struggling to get it to work using the google instructions and was quite frustrated. Tried other tutorials and still - until I came across your video. To bad I didn't find you first! Thank you for sharing, I really appreciate it!
Absolutely! Happy I could help you :)
You did an amazing job! You were straight to the point and i learned how to do what was need in a very small amount of time. You really know how to teach. I appreciate your video. Thank you very much.
YOU'RE THE BEST!!!! thank you so much, I speak spanish but I could not find any spanish tutorial with the complete conditions, very good, keep going.
Joel de la hoz - No problem!
Great stuff. Worked like a charm.
Tutorial is straight to the point and helpful
Thanks for making simple work of what I thought to be a complex process based on the written documentation i found for recaptcha!
How well does this tutorial still hold up in 2021? Thanks ~
Super helpful. Thank you for putting this together.
Muchisimas gracias AL FIN LOGRE INSTALARLO Y ACTIVARLO , ERES UN GENIO!!!
Awesome tut man. Big Ups!
Thanks man it's still Really helpful 2020
Fantastic tutorial. Straight to the point.
Works like magic...thanks a lot
Thanks man, your tutorials are straight to the point unlike other channels and you included the code as well, keep up the good work your channel will be soon on top of those offering long boring tutorials intended for idiots (they even explain how to install the software in a programming tutorial video!). Please stay this way.
Helped me a lot. Thanks !!
This really is a good video. I was starting with a fresh VM and needed to first install curl libraries to make this work. 'apt-get install php7.1-curl', followed by 'service apache2 restart'. Maybe that will save someone 10 minutes of aggravation.
Hello sir, which software you use for type this note. Thank you.
Visual Studio Code - it's free and probably the best text editor I've used
How is the picture captcha implemented? I thought that was a flavor of 2.0.
Simple and easy, well explained. Thanks.
Thank you for the simple explanation! There are other videos that make it seem more complicated in their explanation of what they say, and seems to be, easy implementation.
Happy to help!
great tutorial dude :)
Muchas gracias! THX MAN! Nice tutorial! you helped me alot!
Great tutorial, simple and straight forward
Thanks a lot! Concise and clear tutorial.
Worked perfectly!! Thanks very much.
Thanks so much. Great tutorial
Thanks for the great tutorial! I was able to use this to add reCAPTCHA to some old code that spammers had found a weakness in with the old image captcha. Google is not very helpful with implementation.
Curt Granger - No problem! They were pretty good with explaining version 1.0, but they left the explanation for 2.0 a bit open.
Really this video is an excellent tutorial . i install recaptcha in wordpress website there is my gig link goo.gl/ZpXbJd you can check out
A great tutorial for setting up a new form and response, but I already have my form in my website's index.html file and need to make it work with the response .php file, can you help at all?
That's fine, since no php code needs to go into the index file, it can be called index.html rather than index.php. Just create a new file for the code once it's been submitted and put the php submission code there.
Most helpful, but where can I find the code to cut and paste, please?
Can you use this on a site before it goes live (to test it) or do I have to wait until the site is live and tusehen install it?
I believe Google stopped supporting localhost as a test domain, but I'm not 100% sure. You might want to just try it live with a duplicate test page.
Thank you. Thank you. If I could only say this for a million times. Thank you.
Excellent tutorial, thanks for this :)
THanks man... works perfect and also the most simple one
I cannot seem to make this work. This is the message I continue to receive, "The requested URL was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request." I have saved my file as an html and a php and I get the same results. I have tried to run it as a single page and also as two separate pages like you originally designed and I get the same thing over and over. What I'm I doing wrong.
Thanks for that. It work for me.
Thanks so much! Better explaining I found!
Very Easy - thank you for your tutorial!
Dear Sir, I tried to insert your re-captcha code from RUclips, but as soon as I insert the verification code (otherwise checking the captcha is useless), my form disappears !? I tried to insert in many locations without success, any idea why ? Many thanks Kenneth
I don't understand i dont know where to download the file and where to put it... Help me!
Very nice and clear! Thank you!
Thanks a lot for your kindly Help and Blessings for your Life mate!
Thanks for the great Tutorial.... Its works perfectly ... Thanks
Bout to roll the dice here on this tutorial, hope this shit works, looks solid
The only problem I'm having is when the Captcha box is checked and the form submitted, it doesn't take me to the success message. I only get the error message ... any help would be appreciated.
where can i find the link to codes for the server integration part
I like that the reCAPTCHA allows just the check mark. However, sometimes when I'm testing the form, I get the more advanced option of having to select 'all the boxes that have a sign or car in it'. Is that a security feature I can turn off, so I can just get the simple check box option? Thanks.
There isn't a setting to turn it off, but you can do it with a little php. See this link for more info: stackoverflow.com/questions/32952726/remove-manual-challenge-from-google-recaptcha-v2
Thanks
not sure why but my form submissions aren't coming into mailbox.. I'm trying to use the updated version you linked to but I notice it doesn't include the php code for handling the form submission. I'm not sure if that's my problem.. I'd really appreciate your help!!
Can It will also work for Invisible reCaptcha? or its totally different?
Hey Xian, just created a tutorial in the Invisible reCaptcha. It's actually not too different. You can check it out on my channel. Thanks for watching!
really helpful, thank you
Sir how can i show the response message to show on the same page on my form within my reCAPTCHa ?
HI master. Thanks a lot for the video. It worked perfectly.
Hi and thanks for the tutorial!
I've taken all the steps and now I have the reCAPTCHA box in my contact form, but a) messages can be sent without using it and b) the error message you get when you submit without checking the captcha appears when the page loads.
I'm doubting if I copied the code in the right file. I did it in the template file for the page where I want to use reCAPTCHA.
Thanks in advance!!!
Thank you for the video and the code. !!!
does this still work? Instlled and it "looks" great. It does not work. Everything bypassed reCaptcha and just logs in without any interference. How can I get it to actually work?
Great tutorial, thanks. It works well when my form just has the one field named "messagefeed", but how do I make it work when my form has other fields such as "name", "phone", "email" and so on? Your advice would be much appreciated.
im getting error code. ERROR for site owner: Invalid site key
WOW, very nice tutorial.
Excellent tutorial. Thank you! I was wondering if you (or anyone) could enlighten us about the significance of the api.js file. I am one of those Luddites / security paranoids who still tries to minimize the use of client-side JavaScript if at all possible on the client's browser because JS can be disabled easily by the user. Presumably the recaptcha v2 protected page becomes inaccessible when JS is turned off by the client, is that correct?
Also would appreciate your thoughts about the invisible recaptcha vs. recaptcha v2 in terms of privacy. My understanding is that at least the invisible (if not also the v2) works basically by tracking users and confirming that their history is consistent with a human rather than a robot.
Thanks for watching! This is a quote from Google's developer page "reCAPTCHA can only provide the optimal experience in terms of security and usability with JavaScript enabled. However, if supporting users who have disabled JavaScript is important for your site, you can enable the alternative challenge with the following steps. Navigate to the admin console and move the security preference slider to "easiest for users". Keep in mind that with this setting reCAPTCHA won't be able to use all of its security features."
I'm not sure which reCaptcha is more secure. Possibly v2 as it requires an extra step, but I can't say for certain since I don't know exactly how either reCaptcha works.
thanks for the great tutorial.. it's very helpful
Thanks man!
What do I do if my contact form is already a working form set up in php, including an auto thank you response to the client, and of course an email to me? How do I integrate reCAPTCHA?
at the end where did you get the email code it appeared out o f nowhere and was not explained. Thanks i almost got this.
I didn't really explain the email code because it didn't have anything to do with the reCaptcha. You could put whatever code you want to run there. But here is an explanation of it from w3schools: www.w3schools.com/php/func_mail_mail.asp
Hi! Can i setup for subdomain captcha code?
If you register the domain, all subdomains will work as well.
Thanks for this tutorial. the form always return the "invalid" message no matter if I checked the captcha or not. i double check the codes. Do you know what the problem could be?
It's possible you mixed up the keys. I do have a link to the code in the description. When I get stuck on something like this, I usually create a new test project with only the necessary code just to see if I can get it working. That way you'll know if some other code on your page is interfering. So maybe try that out.
If form action is kept as recaptcha-v2.php as given in your ready file, then how will the email go? I have CGI script that I'm using. Please help if you can.
Great job tnks. u the best.
Any tips for the validation? When I integrated the code it would send with or without validating with google. Super confused, any help would be great!
So does that mean you're getting the error message "Please go back and make sure..." and the email is still sending? If so, make sure you are putting your mail function in the 'else' part of the if/else statement at the end. Use the code I posted in the description of the video and try to get it just working before integrate it into your website.
Copied your mail function with a few tweaks and it now works. It was an issue with my set up of variables and setting up the mail function. I've never done any PHP before, so just trying to make a simple form and install with the recaptcha was a pain. I can now agree, great tutorial and thanks so much!
Glad you got it working, no problem!
thank u so much sir, its working ......good job
@Making Spider Sense
Great video. Do you know how test recaptcha using localhost?
When creating your recaptcha keys, add localhost as trusted sites. But don't forget to remove it when you have your stable website.
I love you. Thanks!
Would suggest adding some sterilisation though but other than that top notch
i tried your code it seems to be perfect, but i got an error "undefine index: name" im trying to figure this out for the whole time but i got nothing.
You get the undefined index error when you try to call an index in an array that doesn't exist. So somewhere in your code, you've made a call to an array with an index "name", but that index "name" doesn't exist in the array. I don't think the error has to do with the code in the video since "name" isn't anywhere in the code.
Thanks, this worked for me too.
hi there! i use it my project but i didn't use any php or server side language there, how can i use it on the submitted page where i want the response message to show without php? any option? its a Angular 4 project. sir, i'm a beginner in web development :)
TIA
I know it can be done without php, but I've have only tried it out with php, so I'm not familiar of other ways to do so.
I have a very troubled problem reCAPTCHA security validation I have to go out to confirm when I go to a site but I do not go out to confirm it on any site and I can not sign up or I can not enter the sites I get confirmation on the laptop but not on the PC please try every way I uploaded my dlls and tried different browsers. I tried the combofix. I did not try adw. I do not want to format the mmm: /
Making Spider Sense
Is that a way i can get in contact with you directly? I know it's been a few years since this video was released, but I'm encountering a very simple problem and I need a little help with this.
If it won't disturb you too much, i really need your help.
Thanks in advance.
Hey, you can reach out to me through the contact form on my website, makingspidersense.com. Please describe your problem in detail and I'll get back to you when I get a chance.
Good Stuff, however I would like to know where this can be added to a word press site along with Google Forms.
Thx
I'm not familiar with Google Forms, but if you are using a WordPress plugin, I'd probably try to find the php code that handles the forms and put the code there. You'll probably have to set your site up with an ftp program. I'm guessing it'll be in a folder labeled 'plugins' which should be right next the the 'themes' folder. Hope that helps!
where to put step 3 on your server?
The one MAIN thing Sir your NOT checking for is what if someone leaves a field empty but they still check the ReCaptcha? What error are they going to get or will the ReCaptcha still work?
That kind of validation is outside of the scope of this video - that is not the purpose of reCaptcha. But to do so, you would need to add conditional statements for each required field to test if they are empty, and if they are, you can echo an error in PHP informing the user to fill out the required fields. A shortcut would be to just add the "required" attribute to the input, but if you go that route, you need to keep in mind that the user can remove that attribute if they know how to use the inspector tool. You might even want to use both HTML and PHP validation.
@@makingspidersense I must first apologize. I love web programming, web design and web development. This feature reCaptcha is a new one on me to use in Web Forms. I'm just trying to figure out how to use it along with validating using PHP in my code. Is there not a code for reCaptcha to where once you clicked on the check box for the reCaptcha, that pop up comes up automatically?
@@robertjb6543 reCaptcha is to protect your form against bots so your are not getting spam submissions. It doesn't check to see if form fields are empty since you may want to allow the user to leave certain fields empty if you consider them optional. If you want to learn how to check if a *required* form field is empty, search for tutorials on PHP form validation - there are many out there.
I am interested in understanding that php function..
Great tutorial, thanks for posting this!
Hey guys do you have any tutorial for the new invisible version ?
Also you have nothing to check if your form is empty ? :s (php noob here)
Hey RaiZdOe, just uploaded a tutorial video on the Invisible reCAPTCHA. Be sure to check it out! The reason I don't have anything to check if the form is empty is because that was not the purpose of this video. I wanted to keep the formal simple.
Im using an old ASP-page I want to add captcha (dont have ASP.NET), can you explain how to implement in ASP?
I've gotten a site key, implemented a captcha-box, but my form will send even if I dont check the captcahbox...
I don't really use ASP so I wouldn't know. There are free tools online where you can convert ASP to PHP. Maybe you could try that and then add the code in this video. It's worked for me in the past. Good luck!
This was above my technical abilities. I need a simpler explanation. i have a word press page. If I click on plugins, add the plug in, what do I do next?
Thanks for the great tutorial! I've got mine working, but for some reason, it only reads the initial If statement, and bypasses the else no matter what. So whatever I have in the initial if is executed no matter what, regardless of whether the captcha is verified. I have double checked the keys, any suggestions?
If it's bypassing the 'else' statement, it's probably because the 'if' statement is ringing true every time, which basically means 'success' is not 'true' or '1'. Make sure the keys are associated with the correct domain. Also, make sure steps 1 and 2 are included on the page with the form. Hope that helps!
Thank you for getting me through this! !
so frustrating I keep getting 505 page cant handle request , I am following every step word by word
Excellent! Thanks!
Of course :D