Тёмный

Google reCAPTCHA V3 integration in PHP 

learnWebCoding
Подписаться 23 тыс.
Просмотров 77 тыс.
50% 1

Опубликовано:

 

25 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 85   
@IWasHereFirst2
@IWasHereFirst2 4 года назад
Note: reCAPTCHA tokens expire after two minutes. If you're protecting an action with reCAPTCHA, make sure to call execute when the user takes the action
@leonardototti2769
@leonardototti2769 4 года назад
In my tests I was never able to restart the captcha, would I have an html and js example?
@pawansaini260
@pawansaini260 3 года назад
@@leonardototti2769 Hello
@bloomonkey2011
@bloomonkey2011 4 года назад
by the way, a wee tip, make sure this is on an HTTPS domain or the console log part wont work, It was doing my head in for ages until we figured that out.
@marklowe9548
@marklowe9548 4 года назад
This was helpful but aren't you missing the most important point: You save to the database based on the score you receive not based on success == true. Without taking the score into account you will essentially just allow every entry to be saved to the database regardless if it is classified as bot or not.
@juansepulveda814
@juansepulveda814 3 года назад
Hello, I am not a programmer and I was creating my web page, which has a form. I was looking at the option of placing a recaptcha, since I get a lot of spam. I found interesting the example that was made and I copied it completely, I put the keys and when I tested it, it does not work. I made it print the $response, but it does not show anything....ya q with values or without them, it indicates that it is not a human. The line that seems to be the problem is: $response = file_get_contents($url, false, $context); Unless, the problem is in the programming raised. I don't know if you have checked it or where the problem could be.... thanks for your help
@newybocktor
@newybocktor Год назад
Thank you so much, that was really clear and simple to understand, thank you for sharing your experience.
@turkeyoutdoor9856
@turkeyoutdoor9856 4 года назад
I have integrated as you explained. I will observe and let to know result. Before I implement code I was receiving hundreds of SPAM registration every day! Thank you for great explanation.
@a.yashwanth
@a.yashwanth 4 года назад
Whats the result? Also what you meant by spam registrations? Are those by humans or bots?
@jojofrancisco12
@jojofrancisco12 4 года назад
good day! how was the implementation after 7 months? no more spams? thanks
@theduskuntildawn
@theduskuntildawn 3 года назад
Thank you, you are great in explaining.
@seedlings14
@seedlings14 3 года назад
thank u! very helpful and easy to understand
@angelscreativity9635
@angelscreativity9635 3 года назад
Thank you a lot, Sir! Very helpful 👍👍👍
@nusrathulgur7247
@nusrathulgur7247 Год назад
Thanks 👍 but can you make video for how to send email with recaptcha and that fields data should also appear in Google sheet, how can we do that
@tessellatiaartilery8197
@tessellatiaartilery8197 4 года назад
Thanks so much for such a clear explanation. Very helpful indeed. Have subscribed and look forward to more.
@ibn-mohamad
@ibn-mohamad 5 лет назад
It's very clear; thank you for this tuto ! your the best !
@learnWebCoding
@learnWebCoding 5 лет назад
Thanks for the good word!
@ricardoalsoa
@ricardoalsoa 4 года назад
Thank you so much. Best tutorial ever. Congrats.
@learnWebCoding
@learnWebCoding 4 года назад
Thank you!
@pomegranatechannel
@pomegranatechannel 5 лет назад
Best reCAPTCHA tutorial. I thought I had to use curl.
@HaisumUsman
@HaisumUsman 4 года назад
Superb Job brother
@FaustoDAsero
@FaustoDAsero 4 года назад
Relly good job, man! thanks a lot!
@learnWebCoding
@learnWebCoding 4 года назад
Your most welcome!!
@adjustyourtone
@adjustyourtone 4 года назад
Really great explanation of what to do and why. Thank you!
@learnWebCoding
@learnWebCoding 4 года назад
Thank you!!
@bezawadaharikrishna4889
@bezawadaharikrishna4889 4 года назад
Hello ! Recaptcha should ask for clicking on Recaptch button before submission & here why it didn't asked. Also let me know does recaptcha comes only on multiple visits by a user from an IP address ? Appreciation in advance for correct answes.
@jean-pierrelannak3601
@jean-pierrelannak3601 5 лет назад
You help me greatly I thank you so mutch. From France You are a Nice people.
@matthieuregnauld9648
@matthieuregnauld9648 5 лет назад
Clear, simple, working. Thanks!
@learnWebCoding
@learnWebCoding 5 лет назад
Thank you, Mathieu..!!
@narainmandyam7881
@narainmandyam7881 4 года назад
hey, I am able to console.log the token, but for some reason the g-recaptcha-response always shows up as empty in my backend ( verify.php). I have looked everywhere but am unable to find an answer. Can you help?
@truth8677
@truth8677 4 года назад
You need to include code that rejects scores under 0.5 trust rating, or does Google do that automatically?
@tarakgandhi
@tarakgandhi 3 года назад
a big thank you
@xkpx64
@xkpx64 3 года назад
Very interesting that i dont receive request on GoogleAdminConsole , but capcha workds? How to fix
@jenholtom9381
@jenholtom9381 4 года назад
Can I leave the form in an or do I have to put it on the contact page itself? Also there is a lot of imput questions on this form and 2 minutes may not be enough for the token. If I use v2 checkbox or invisible, would that be better for all the questions, with or without .
@anupamkushwaha8104
@anupamkushwaha8104 3 года назад
I am submitting my form on another file contact.php, but I am not able to go there any idea what can i do on this ?
@israelgarcia1767
@israelgarcia1767 4 года назад
Thank you very much for the tutorial. I already have the code modified with my keys, but do I have to put it on my website?
@laravelstream2516
@laravelstream2516 3 года назад
It's not validating when I have changed token value from Inspect Element
@jeraldaustero9790
@jeraldaustero9790 4 года назад
I have a problem about cors policy do you experience that?
@Timespider
@Timespider 5 лет назад
Thanks for posting and the code. Nice simple form too. I'm going to try and implement this into my AJAX version 2 page(rebuild it). I have subscribed
@allenscott9319
@allenscott9319 4 года назад
Hello, in the console I didn't see the token, I've got some errors. I did all Failed to load resource: the server responded with a status of 404 (Not Found) recaptcha__es.js:516 Uncaught (in promise) Error: Invalid site key or not loaded in api.js: your_site_key_here at pl (recaptcha__es.js:516) at Object.IN [as execute] (recaptcha__es.js:521) at (index):66 bootstrap.min.css:1 Failed to load resource: the server responded with a status of 404 (Not Found)
@hoshytoshy8889
@hoshytoshy8889 4 года назад
Why is google not able to explain their own technique as easy as you did?
@ucheaniagoh
@ucheaniagoh 4 года назад
Thanks so much! It was a great help to me.
@learnWebCoding
@learnWebCoding 4 года назад
Your most welcome!!
@ssavva2027
@ssavva2027 5 лет назад
Great ! Thanks! Do you have anything about secure websockets in php and expose it in API level ?
@haadicawil6891
@haadicawil6891 5 лет назад
thanks well explained
@ravi-gadhiya
@ravi-gadhiya 5 лет назад
Thanks, for share, Can i use this same method in ajax form also? @learnWebCoding
@freen2314
@freen2314 4 года назад
Absolutely new to php and using this tutorial to add recaptcha to my clients website. However it’s still not live yet. Does the website need to be hosted to check if this code is working? Right now I’m adding this code to the website code and I’m seeing all the php code on top of the page when I open it on the browser. Is this because I’m not host it on a server?
@freen2314
@freen2314 4 года назад
*hosting
@theresiabhebhak8706
@theresiabhebhak8706 4 года назад
selamat pagi saya minta solusi mengapa sebelum login tekan i'm not a robot tapi munculnya gambar dan verifikasi belum berhasil.terima kasih
@Ravikumar-gj6qw
@Ravikumar-gj6qw 4 года назад
At what time or when recaptcha will activate more than 3 times haa
@shafiqsarwar964
@shafiqsarwar964 5 лет назад
i want to change text show in reCAPTCHA v3 privacy policy in arabic how i can achieve that?
@juansepulveda814
@juansepulveda814 3 года назад
Hi, I copied the code and changed the keys, but I get the following message: Error! You are not a human.
@sanvandeijzen8154
@sanvandeijzen8154 4 года назад
Hey, can you help me I have an error. When I run this '''json_decode($response, true);''' I get this result: Array ( [success] => [error-codes] => Array ( [0] => missing-input-response [1] => missing-input-secret ) ) And you didn't get this error.
@killedzinn4132
@killedzinn4132 4 года назад
Did you manage to fix this?
@leonardototti2769
@leonardototti2769 4 года назад
In my case, when I ask to print the '$ response', the screen goes blank with no results. What could be happening?
@KKumarIndy
@KKumarIndy 4 года назад
Probably the if(isset($_POST['post'])) check is resulting in false to its not executing the if block, which could be because you may not be sending anything for post key.
@Aizaki_Garu
@Aizaki_Garu 3 года назад
thanks
@supriyajadhav380
@supriyajadhav380 3 года назад
how to handle the error if the user has added an invalid key.
@juansepulveda814
@juansepulveda814 3 года назад
is not printed value of $response ------ $response = file_get_contents($url, false, $context);
@linksouza
@linksouza 5 лет назад
Great job! Thank you so much!
@learnWebCoding
@learnWebCoding 5 лет назад
Thanks for the appreciation..
@leonardototti2769
@leonardototti2769 4 года назад
Would anyone have an example with restarting the recaptcha after the time expired? html + js?
@rakshitarenja7123
@rakshitarenja7123 4 года назад
After the echo pre tag I didnt get success Till the end it is showing failed
@alimammiya3343
@alimammiya3343 4 года назад
O hello, Where is the mail going? You have not define an email address in this.
@meliodas3645
@meliodas3645 4 года назад
At 10:31 I heard somebody say 'dada'
@abdulshaikh3465
@abdulshaikh3465 3 года назад
ye data mysql me kaise jaayega yaar ?
@avashgtm1
@avashgtm1 4 года назад
very through
@villastube
@villastube 5 лет назад
You can change this: $options = array( to this: $options = [
@MegaLennex
@MegaLennex 5 лет назад
Make a video amp pages reCAPTCHA V3 please.
@kcenzo7592
@kcenzo7592 4 года назад
it was so f*cking helpfuly thanks man
@Meminators
@Meminators 5 лет назад
Without source file links, can't really follow along.
@learnWebCoding
@learnWebCoding 5 лет назад
get the code from: github.com/durgesh-sahani/google-recaptcha-integration-php
@marianmarian4803
@marianmarian4803 Год назад
Hello Can you do this for me ? I pay
@gervic23
@gervic23 5 лет назад
Recaptcha V3 is just like laravel passport.
@FaizanAhmad-ct5zp
@FaizanAhmad-ct5zp 5 лет назад
Where the hell is Re captcha check box?
@jacobbelanger2648
@jacobbelanger2648 5 лет назад
The checkbox is only displayed in V2 of the Recaptcha, in V3, it is purely behind the scene, analyzing stuff like mouse movement, page scroll, and other interactions.
@michellesmallenglish5565
@michellesmallenglish5565 4 года назад
the address to mail to will be 398 Bristol street , Brooklyn new York 11212
@easynotes4uonline
@easynotes4uonline 4 года назад
So complicated
@michellesmallenglish5565
@michellesmallenglish5565 4 года назад
I will like to have a refund on the money order please
@chrisribia
@chrisribia 5 лет назад
source code please?
@learnWebCoding
@learnWebCoding 5 лет назад
Updated in description. get the code from github.com/durgesh-sahani/google-recaptcha-integration-php
Далее
А вы знали что металл тонет?
00:32
Исповедь / Мася
2:47:10
Просмотров 135 тыс.
Страшная Тайна Светы Кемер !
33:04
Worst CAPTCHA Ever
17:37
Просмотров 2 млн
How to Set Up Google reCAPTCHA on Your Website
18:00
Просмотров 42 тыс.
recaptcha v3  with php
13:22
Просмотров 17 тыс.
Codeigniter Form Validation using Google reCAPTCHA
21:58
How Fast Can I Fill My Inbox?
13:30
Просмотров 366 тыс.
А вы знали что металл тонет?
00:32