Integrate Google's Invisible reCAPTCHA (3 Simple Steps)

Поделиться
HTML-код
  • Опубликовано: 29 дек 2024

Комментарии •

  • @richardflint9762
    @richardflint9762 7 лет назад +25

    This is the only video on invisible reCAPTCHA that got me from start to finish. Thanks!!!

  • @corryunedited8154
    @corryunedited8154 5 лет назад +2

    Thanks, not only for the video, but for the code. I was able to drop it into my page and it "just worked". I was already thinking of making my form submit to itself, instead of a handler page, so the changes you made to the code were perfect for my needs.

    • @PrathamInCloud
      @PrathamInCloud 5 лет назад

      Can you please help me? How did you make the form submit to itself instead of a handler page? I don't know much of PHP

    • @pietrosirignano3631
      @pietrosirignano3631 4 года назад

      Ok

  • @bedrockmace840
    @bedrockmace840 6 лет назад +1

    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: /

  • @palakvasani7305
    @palakvasani7305 6 лет назад +1

    Hello,
    Thanks for the great video. I integrated this solution in one of my form. The issue is it is submitting form even if my fields are required.
    It submits empty form inspite of validation of required="true". Kindly, please let me know if any solution or any check I need to make.

  • @davidherrera8115
    @davidherrera8115 6 лет назад +1

    HI, thanks for the info, how can i validate the form before the Invisible reCAPTCHA new button, right now the form can have no values inside the inputs an i can click the submit button

  • @Ur2ez4me81
    @Ur2ez4me81 6 лет назад +1

    I guess I am a noob when it comes to this type of stuff but there's this one website I try to get on & upload stuff & it tells me that my recaptcha doesn't match & no captcha box is displayed. Not sure if I am going to be able to figure this out I am a old fart I guess, someone help me...

  • @BharathKumar-jn2tz
    @BharathKumar-jn2tz 3 года назад

    Sir, looks like you are posting whole page. In case if I want to do it on Ajax. How can I use ?

  • @andresprommel3226
    @andresprommel3226 4 года назад

    hi, i work with frontend in react and backend with node . do you thing that i can validate token only in react without backend system ?

  • @tediz6595
    @tediz6595 4 года назад

    Great tutorial,
    what if you are using a host like Godaddy etc, and your form is located in a contact.html file and it calls a mail.php form to process the info and send it:
    1) Where would you place the JS code?
    2) How can you hide the private keys and public keys from your HTML page?
    Thanks!

  • @ing.joseadriangarciaangele1425
    @ing.joseadriangarciaangele1425 7 лет назад +1

    hello, i have a contact form in javascript with validation in each Field, i need to add an Invisible google reCAPTCHA, i did try to do it by myself, but i can't, i did follow step by step your tutorial. Can you help me please? and how much does it cost?.

    • @makingspidersense
      @makingspidersense  7 лет назад +1

      Hey, I can definitely check it out for you and let you know. Send me a message with you email and a link to your current form as is and I'll get back to you. You can send a message to me here: makingspidersense.com/contact.php

  • @luiurt
    @luiurt 7 лет назад +1

    This is awesome - great tutorial. Thank you.
    Is there a way to reduce the captcha badge size?
    The current code presents grecaptcha-badge, grecaptcha-logo with a width of 256px and height of 60px. A smaller badge would look better on small devices.

    • @makingspidersense
      @makingspidersense  7 лет назад +1

      You could hide the badge on mobile with css and a media query:
      .grecaptcha-badge { display: none !important; }
      or you can make the badge appear just above the button with this code:
      .grecaptcha-badge { position: static !important; }
      I don't know about changing the size though since it's displayed with an . Check out the following link for more info and be careful make sure you understand the ToS before you do anything. Thanks for watching!
      stackoverflow.com/questions/44543157/how-to-hide-the-google-invisible-recaptcha-badge

    • @luiurt
      @luiurt 7 лет назад

      Thank you!

    • @pietrosirignano3631
      @pietrosirignano3631 4 года назад

      Proviamo se ci riesco,grazie

  • @glaubercarvalho788
    @glaubercarvalho788 5 лет назад

    If you change the action to a new file, how to handle the original action?

  • @lthunt2073
    @lthunt2073 4 года назад

    I know I could cop some flack for bringing it up, but just to check, if I'm working with Wordpress for someone else's site, do you have some adjustments for each step on how to work with Wordpress' text editors rather than being able to see a whole file at once like in VScode? Contact Form 7 added Recapture to the whole site, so everytime someone jumps on the site, they get attacked by recapture even if they're just browsing the shop which I want to prevent. I reached step 3 (from the looks of it, you don't even need steps 1 and 2 if that code works??) but you can't make a contact form that is a php file...

    • @lthunt2073
      @lthunt2073 4 года назад

      Found out Contact Form 7 puts everything into a form tag, so I take it I'd have to make the page from scratch...

    • @makingspidersense
      @makingspidersense  4 года назад +1

      If you are coding for WordPress, you don't need to use their default text editor. You can still use your favorite text editor like VScode and then FTP your files to a child theme folder. This is what I do. You can actually create your own forms within custom PHP page templates or custom blocks for the editor. However, if you are using WordPress, it might just be easier to use a form plugin like Contact Form 7 or Ninja Forms. I believe you can integrate reCaptcha with these forms without having to do any coding. You'll still need to take the steps to generate the private and public keys though.

    • @lthunt2073
      @lthunt2073 4 года назад

      @@makingspidersense Thanks for that. I've integrated reCAPTCHA into Contact Form 7 and it's challenging my new users on every page, even if they're not submitting a form. I tried setting up reCAPTCHA to be "most comfortable for the user" but it's still very intrusive, even when set to "invisible" and the user lands on the homepage which doesn't contain any forms. Thanks for letting me know about using FTP though! ;-)

  • @Thavilang
    @Thavilang 6 лет назад

    Doesn't work to me :( The form never send, and keep saying It's not possible to conect.

  • @danielheer3617
    @danielheer3617 6 лет назад +1

    Why I get no captcha to solve? Even if I have a Score of 0.1? The rest of the Tutorial works, can someone tell me why ?

    • @PrathamInCloud
      @PrathamInCloud 5 лет назад

      The name literally tells that it's an invisible Captcha - it runs in the background without interrupting visitors

  • @OrbisiusTeam
    @OrbisiusTeam 7 лет назад +1

    Re: fields_string you may want to look into php's http_build_query function. You have some perl I see ;)

  • @MohammadaAprilianto
    @MohammadaAprilianto 6 лет назад +1

    please make tutorial how to install recaptcha v3

  • @dwijareddy2
    @dwijareddy2 7 лет назад

    Hello ! In your example I see that you already have sitekeys for both recaptha v2 and invisible recaptcha. Can't we use one key for both ? Like, if we are switching from recaptcha to invisible recaptcha, can't we use the same recaptcha key ?

    • @makingspidersense
      @makingspidersense  7 лет назад +1

      When you register a domain, it asks you to select which version of recaptcha you are using. So I believe you'll need to generate a new key if you are switching to the invisible recaptcha, although I haven't tested it out myself.

    • @pietrosirignano3631
      @pietrosirignano3631 4 года назад

      Ci provo

  • @Philanthropist1982
    @Philanthropist1982 6 лет назад

    Hi everyone, I have a problem, this message shows up. I tried a lot, but it does not work. May you help me somehow. Thank you in advance.

  • @fog152
    @fog152 4 года назад

    Thanks for noting about reChaptcha 2.0, I also prefer it !

  • @Yelis3
    @Yelis3 6 лет назад

    Please, somebody who has done this successfully could explain me? where are you testing the php server? I am using MAMP to run it and this is definitely not working. >:(

  • @EricPalmer_DaddyOh
    @EricPalmer_DaddyOh 6 лет назад

    First reCAPTCHA video I watched and it has everything I need to get this working. Thanks so much.

  • @mikewilliams3794
    @mikewilliams3794 7 лет назад

    I can't get this to work. I've tried several different tutorials now, but I can never get the captcha to verify. What am I doing wrong? Currently, I'm trying the one posted in the video. Its literately just the code posted plus 2 form fields for testing. Still nothing. Help!

    • @makingspidersense
      @makingspidersense  7 лет назад

      You are going to want to test this on a live server. Are you sure your host server is set up to run php? Most are, but you might want to double check. Also, did you generate the two keys for your domain, and if so, did you paste them into the code?

    • @mikewilliams3794
      @mikewilliams3794 7 лет назад

      Yes, I run my own server with PHP enabled. I know PHP is working because I can run Wordpress no problem. Not trying this with Wordpress though, just trying to get it to work with html+php. Yes, I have my own keys for my domain from Google. I even tried it with Google's test keys and it still wont work. Everything is in working order, but it just wont verify. I did some more research and I'm thinking that maybe its not getting the file contents with the curl or something because the json is just returning null (as far as I can tell anyway). Json_last_error returns 4-syntax error which I found out could be an UTF-8 encoding issue, but I ensured everything was UTF-8 and its still not working. I'm at my wits end!

    • @makingspidersense
      @makingspidersense  7 лет назад

      In your php.ini file, check to make sure 'allow_url_fopen' is set to 1 and not 0 (I'm not sure if that will make a difference with curl, but it's worth a try). Also, can you try the code out on another server? Maybe you are running into some permissions issue with your host that is restricting you from retrieving data from an external source.

    • @mikewilliams3794
      @mikewilliams3794 7 лет назад

      Interesting... I will try that line of thinking and report back. Also, I dont have a host. I'm my own host :p

    • @pietrosirignano3631
      @pietrosirignano3631 4 года назад

      Bene

  • @Makeybussines
    @Makeybussines 7 лет назад +3

    Thank you! This video actually helped and did so in a short and precise manner. Nice!

  • @RepomanGP
    @RepomanGP 6 лет назад

    Has anyone been able to get the visible or invisible reCaptcha 2.0 to work with the NMS FormMail script?

  • @proteus324
    @proteus324 3 года назад

    Works like a charm. Thanks!

  • @leasiefallin9891
    @leasiefallin9891 3 года назад

    about homepage it disappeared

  • @dewitonline
    @dewitonline 6 лет назад

    I see no link??

    • @makingspidersense
      @makingspidersense  6 лет назад

      It's in the description of the video. You may have to expand it.

    • @dewitonline
      @dewitonline 6 лет назад

      yes, thanks a lot.

  • @dk-gl
    @dk-gl 7 лет назад +1

    That's like 2 FPS... It isn't nice to watch. Other than that I would also recomend HitFilm 4 Express for editing videos. It's free (there's also a paid version), and has reeeeeaaaaallllllyyyyy good tools. You could also edit sound in audacity :D But still video is preaty good :)

    • @makingspidersense
      @makingspidersense  7 лет назад +2

      I actually have much better screen capture software now! (OBS Studio) It's way better, but unfortunately I haven't had time to record anything new in a while. Thanks for the feedback though. :)

  • @kaerio610
    @kaerio610 3 года назад

    Can You Make A Video On How To BYPASS it Client-Side Non-GUI preferably using Python?
    great video !!

  • @ski442
    @ski442 6 лет назад

    Perfect, Thanks very much. Really easy to follow and allowed integration of my existing Mail Function too.

  • @jhosepculqui
    @jhosepculqui 7 лет назад

    Thank you very much for sharing, I have solved my problem. Greetings from Peru.

  • @tox_13
    @tox_13 6 лет назад

    Great video, I really appreciate it!
    Also thanks for keeping the code updated!

  • @nareshkoppula2670
    @nareshkoppula2670 7 лет назад

    sir,i need code for invisible recaptcha in angularjs

  • @karlalexander8770
    @karlalexander8770 6 лет назад

    Works great. Many thanks!

  • @stavilavictor7608
    @stavilavictor7608 3 года назад

    Thank you mannnnnnnnnnnnnnn, i love youuu

  • @viterzbayraku
    @viterzbayraku 6 лет назад

    Very useful. Thank you!

  • @leasiefallin9891
    @leasiefallin9891 3 года назад

    man NMY accounts un

  • @GChizo
    @GChizo 6 лет назад

    Thank you!

  • @MarioFox420
    @MarioFox420 6 лет назад

    Great tutorial! Thumbs up

  • @rafaelfernandesmotta
    @rafaelfernandesmotta 3 года назад

    nice thx for sharing

  • @theRobertGardner
    @theRobertGardner 5 лет назад

    Makes no sense?

  • @jonathanramirez909
    @jonathanramirez909 7 лет назад

    Thank you very much! :)

  • @dfrontierit2114
    @dfrontierit2114 7 лет назад

    Thank You

  • @k3logics925
    @k3logics925 5 лет назад

    Thank you :)

  • @willysnowman
    @willysnowman 6 лет назад

    Thanks!!

  • @jasonlandry370
    @jasonlandry370 7 лет назад

    Hi! thanks so much for the video. Was having trouble figuring out a callback, but this got it working. I am having a issue with the form still being sent with blank content.
    The comments won't allow me to send the php code, so I've uploaded here:
    elementalmaze.com/phpcode.txt
    Thanks for any help you can provide.
    Jason

  • @ucefkh
    @ucefkh 7 лет назад

    well done :)