reCaptcha API Tutorial, Install Google's reCAPTCHA - Add Captcha to Your site's forms, slow the spam

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 พ.ย. 2024

ความคิดเห็น • 73

  • @garrickcrouch4530
    @garrickcrouch4530 5 ปีที่แล้ว +3

    Easy to follow & great explanation on what the actual code is doing!

    • @jherbison
      @jherbison  5 ปีที่แล้ว +1

      Thank you for the comment. Glad you liked it.

  • @brandonbalentine1935
    @brandonbalentine1935 5 ปีที่แล้ว +2

    Thank You! I've looked up a handful of tutorials and this is the only one that made sense to me.

    • @jherbison
      @jherbison  5 ปีที่แล้ว

      Awesome.. Glad it helped. I need to do a video on the new reCaptcha but have not had time.

  • @carolherbertphotography
    @carolherbertphotography 6 ปีที่แล้ว +1

    If only the actual reCaptcha site would provide such a clear explanation! Many thanks for taking the time to do so :-)

    • @jherbison
      @jherbison  6 ปีที่แล้ว +1

      Thank you. Yes, Google (all of Google including TH-cam) is not very good about explaining how things are to be done. They could easily create this same video that I created.. They would have a much larger adoption of their products if they did so.

  • @PawlSpring
    @PawlSpring 6 ปีที่แล้ว +2

    The best video I've seen on reCaptcha (so far!)

    • @jherbison
      @jherbison  6 ปีที่แล้ว

      Awesome!! Thank you.. Please share it so others can use the information.

  • @pock1701a
    @pock1701a 4 ปีที่แล้ว

    I know just enough PHP to be dangerous! YET I understood your video and the damn thing actually worked :) So much better and methodical than so many other videos on this topic. Thank you!

    • @jherbison
      @jherbison  4 ปีที่แล้ว

      Awesome! That is what I like to hear! Thank you for the comment.

  • @TobiasLauner
    @TobiasLauner 3 ปีที่แล้ว +1

    Thanks for that great explanation!!!

    • @jherbison
      @jherbison  3 ปีที่แล้ว

      Thank you for watching and commenting.

  • @savvyshah
    @savvyshah 5 ปีที่แล้ว +1

    Josh I'm glad I found you in this ocean.

    • @jherbison
      @jherbison  5 ปีที่แล้ว

      Thank you for the comment.. Hope the video helped.

  • @sevzas
    @sevzas 4 ปีที่แล้ว +1

    At first I thought that Richard Rawlings from FastNLoud switched from cars to coding. Good Tutorial!

    • @jherbison
      @jherbison  4 ปีที่แล้ว

      LOL. I have been told I look like a few people, Richard Rawlings isn't one of them. Funny! Thank you for watching, the comment and the laugh!

  • @timmy334
    @timmy334 6 ปีที่แล้ว +1

    Finally got it to work! Your tutorial showed exactly what I needed to do. Thank you!

    • @jherbison
      @jherbison  6 ปีที่แล้ว +1

      Glad it helped.. Thank you for the comment.

  • @erwinpogz
    @erwinpogz 4 ปีที่แล้ว +1

    thanks man! it helps a lot

    • @jherbison
      @jherbison  4 ปีที่แล้ว

      Awesome.. Thank you for watching and commenting.

  • @sonnychiba5270
    @sonnychiba5270 5 ปีที่แล้ว +1

    Nice tutorial! Also you probably hear this all the time, but you look almost exactly like Giovanni Ribisi

    • @jherbison
      @jherbison  5 ปีที่แล้ว +1

      First time I have heard that I look like GR.. I hear that I look like Jax Teller from Son's of Anarchy all the time.

  • @joeronstadtsr4530
    @joeronstadtsr4530 3 ปีที่แล้ว +1

    Best video on this I've seen! Calm and concise. Great teacher!
    Now, do you have a (Cut n Paste) form of this code?

    • @jherbison
      @jherbison  3 ปีที่แล้ว

      Thank you for commenting.. You comment went to spam.. There is a link in the description that is a download of the code.. Here is that same link.. idp.bz/recaptcha

  • @istvanvas8628
    @istvanvas8628 5 ปีที่แล้ว +1

    thank you, nice job. I managed to follow your video, and my form works properly.

    • @jherbison
      @jherbison  5 ปีที่แล้ว

      Nice.. Glad it helped. Thank you for commenting.

  • @carriep7812
    @carriep7812 5 ปีที่แล้ว +1

    Figured it out, only v2 has those settings, not v3. Thanks - I look forward to a video with making it work with a submit form, like an email form. Been trying to get this to work. Thanks again for the great video!

    • @jherbison
      @jherbison  5 ปีที่แล้ว

      Yes. Glad you figured it out.. Thank you for the comment.

  • @Gjffza
    @Gjffza 6 ปีที่แล้ว +1

    A big thank you for this clear and precise tutorial! Being French and little tutorial at home, you helped me a lot !! (Sorry if my english is wrong ...) Good job...

    • @jherbison
      @jherbison  6 ปีที่แล้ว

      Thank you. Glad the video helped... Thank you for comment and compliment.

  • @arnaudvalenti2716
    @arnaudvalenti2716 4 ปีที่แล้ว +1

    thanks for your explications, it's perfect :)

    • @jherbison
      @jherbison  4 ปีที่แล้ว

      Awesome.. Thank you for watching and commenting.

  • @tediz6595
    @tediz6595 4 ปีที่แล้ว +1

    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!

    • @jherbison
      @jherbison  4 ปีที่แล้ว

      Hope you were able to figure this out. You can add the js to any html page. The mail.php page can hold the private key and process the information. PHP code is not viewable to the public as it runs on the server before the page is loaded. Thank you for watching and commenting.

    • @tediz9894
      @tediz9894 4 ปีที่แล้ว

      @@jherbison I was able to solve it. Thank you for clarifying.

  • @pronoygomes2505
    @pronoygomes2505 6 ปีที่แล้ว +1

    Excellent tutorial, clear explanation. Thank you.

    • @jherbison
      @jherbison  6 ปีที่แล้ว

      Thank you for the comment. You're welcome.

  • @amircahyadi9219
    @amircahyadi9219 2 ปีที่แล้ว

    ❤️ thank for your help 👍

    • @jherbison
      @jherbison  2 ปีที่แล้ว

      No problem 👍 Thank you for watching and commenting.

  • @baykor7255
    @baykor7255 4 ปีที่แล้ว +1

    perfect!

    • @jherbison
      @jherbison  4 ปีที่แล้ว

      Thank you for watching and commenting!

  • @ateviel
    @ateviel 6 ปีที่แล้ว +1

    Thank you for this great PHP implementation! :-)

    • @jherbison
      @jherbison  6 ปีที่แล้ว

      You're welcome. Thank you for the comment.

    • @ateviel
      @ateviel 6 ปีที่แล้ว +1

      @@jherbison I tried to implement this approach with reCaptcha v3, However, I was unsuccessful. Seems like this method works only for recaptcha v2 ?

    • @jherbison
      @jherbison  5 ปีที่แล้ว

      Yes, I will make more videos on the newer versions of recaptcha.

  • @rlewis2009
    @rlewis2009 4 ปีที่แล้ว +1

    Hi Joshua, Thanks for posting this! I followed your tutorial and it appears to be working except for the Average Score is not populating with data. Do you have any ideas why that one stat it not working? It says "No Data to Display". Thanks, Bob

    • @jherbison
      @jherbison  4 ปีที่แล้ว

      Sometimes it takes several days for the data to show up. Thank you for the comment.

  • @ronranier5746
    @ronranier5746 6 ปีที่แล้ว +1

    This is awesome - the first video that I understand. I have one question - when your example receives the $response it is equal to 1. Mine comes back as "true," with the comma at the end?

    • @ronranier5746
      @ronranier5746 6 ปีที่แล้ว

      Figured out my own mistake - ID10T. Thanks again this was awesome.

    • @jherbison
      @jherbison  6 ปีที่แล้ว

      Your comment went to Spam.. Glad you figured it out. Thank you for watching and the comment..

  • @mitravindgarg5372
    @mitravindgarg5372 6 ปีที่แล้ว +1

    Best Tutorial so far about reCaptcha sir. Please let us know, how we can use reCaptach along with Java Script for form validation ?

    • @jherbison
      @jherbison  6 ปีที่แล้ว

      Are you wanting to use Ajax or JQuery?

  • @irvanfansuri6636
    @irvanfansuri6636 5 ปีที่แล้ว +1

    Nice tutorial, you're amazing, thanks bro

    • @jherbison
      @jherbison  5 ปีที่แล้ว

      Thank you! Glad you enjoyed it.. Thank you for the comment.

  • @Appemans
    @Appemans 6 ปีที่แล้ว +1

    Very nice tutorials, I learned a lot from them.
    I just have one question. If I don't submit the 'I'm not a robot' button but save directly, the form will get a warning that I forgot to submit that I'm not a robot button. But my form now is also reset. All fields are empty again. If I make a long form and some one made a mistake, the whole form will be reset and have to be typed in again :(
    So how does it work that by mistake the form input will not be deleted?

    • @jherbison
      @jherbison  6 ปีที่แล้ว

      So you would just need to call the POST or GET variable for that field in the value of the field. For example: if your field name was email_address and you were using POST, then in the value you would enter $_POST['email_address']. You would also need to validate that the submission existed. So your field could be

  • @Whacks
    @Whacks 6 ปีที่แล้ว +1

    Great tutorial!

  • @caikbispo
    @caikbispo 6 ปีที่แล้ว +1

    Thanks for this tutorial!

    • @jherbison
      @jherbison  6 ปีที่แล้ว

      You're welcome.. Thank you for the comment.

  • @danielotembo2983
    @danielotembo2983 6 ปีที่แล้ว +1

    You rock man! Peace!

    • @jherbison
      @jherbison  6 ปีที่แล้ว

      Thank you and thank you for the nice comment.

  • @123Zinzen
    @123Zinzen 7 ปีที่แล้ว

    Thank you!! I loved the detail description and speed of your instruction, I followed along in my development env and ran into on issue. Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? . To fix this; uncommeted extension=php_openssl.dll in php/php.ini and bounce the server. In case someone else runs into the same issue. Great JOB.
    Pandora Vankirk

  • @sparkden
    @sparkden 5 ปีที่แล้ว +1

    very good but please go light on adverts as too many

    • @jherbison
      @jherbison  5 ปีที่แล้ว +1

      I wish I had more control over them..

  • @Iandavidandrino
    @Iandavidandrino 6 ปีที่แล้ว +1

    thank you

    • @jherbison
      @jherbison  6 ปีที่แล้ว

      Thank you for the comment.

  • @askbruzzdotcom9016
    @askbruzzdotcom9016 6 ปีที่แล้ว

    Hello! It,'s possible to add this recaptcha to the comment form of wordpress? If yes, how?
    Thanks you :)

    • @askbruzzdotcom9016
      @askbruzzdotcom9016 6 ปีที่แล้ว

      Joshua Herbison thank you so much :)

    • @jherbison
      @jherbison  2 ปีที่แล้ว +1

      I hope you found a solution for this.. Trying to catch up on comments that I missed.
      Thank you for watching and commenting.
      If you haven't already, please check out my latest video: A Day In the life of a software engineer. th-cam.com/video/Z8GluDQ2U-E/w-d-xo.html

    • @jherbison
      @jherbison  2 ปีที่แล้ว

      Thank you for commenting.

  • @kartikjoshi6166
    @kartikjoshi6166 4 ปีที่แล้ว +1

    doesnt he look like deadpool

    • @jherbison
      @jherbison  4 ปีที่แล้ว

      Haha, never been told I look like deadpool!!! Thank you for watching and commenting.