S
S
sorry_i_noob2018-06-30 22:22:57
reCAPTCHA
sorry_i_noob, 2018-06-30 22:22:57

I can’t deal with reCAPTCHA - why do different values ​​​​receive all the time on the server, if the point is to just have a check mark (true value)?

Hello. I installed reCAPTCHA on my website. And when I check the box (I pass the check), different values ​​come to the server in $_POST['g-recaptcha-response'] .
In the first case, this is what happened:

03ACgFB9vKFlXse61zh-ItjYEPPUEJe4EuO0ri0sxiSn5yQAwq67_JwxT0qQzRO1sZwpmq66pkvmMmw82bBJpkGR2WeAcGxM3dj9QsK-T78NZZWaLDBZj35hSIkXOaT5H7kZZyhKVHF7LyNSErgqrp-WGN4jOCHh5DTkL-4kTF0T0b_mdAJghQin2J7fpgP9guxk4uwTQYIwCok5pC8xs90BLBzWf3FgC-lE7O652gU5CpsVsMvmu4wrfqGfIGciG22-21D0c_gbnVUtKqfmYzlWaaIiLU61jzFoP-ydnnhR4TpgyT-RRyKMpbxkIBEMHvLresKw1kbzOQRp9pgFroPLZb7kSfsTf7b5hAhCkvczk5I24nKHI7oNU

In the second one is:
03ACgFB9uduPFCxmsoPCRPvEiXzqWLvuuar1JYGd-2tCWfhrvKja8mKVVQdI5x9Q-dO_7KITil5wgW9riI1flYJa3R0brBVqGFjNq_ET9Dmy3fAw-7jxXyQEZ2biT5j_ibryK6YzagOo81D_ulkirRFFa7B13Cpszg-PB_YZPxlTFHEpfMjnDR-sHsoxK0oPSgYQYrSCrIqLJhAWwyqQLKPyy30a3-ny9YZybj2DT3l6cklWT2vv2hnaV6mFlIgGb93p8yW74H0jBsmsF7CobNl6CuTN868Tkx9_IsEHvQh3P-ybJ5rqrNMoh6Imyr0VSJKbNwqRxb6bzROkak8jWcxfRFiQcrayBLJOuUA__yzvLX3OwAV1fMV54

Why is that? In fact, the main thing is that the checkbox is true (and the value should come true)? Or am I wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene, 2018-07-02
@Eugeny1987

The result obtained from $_POST['g-recaptcha-response'] must be sent to them on the server and get the result of checking the recaptcha, whether it is a bot or not

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question