📜 ⬆️ ⬇️

Forget about captcha

[Intro]
Recently, I started learning the jQuery AJAX library ...
In my opinion this is the best, convenient and easy lib for AJAX ...
After reading some of the articles, I decided to make the docks so that users on your site didn’t have to look at the sewn up characters.


[Start]
We have the form:
Text: /><br/>
/>


Well, here the robot costs nothing how to send POST requests text = ss, sub = Ok to our script ...

And if you add some form through js ...
In the header (Between and) pages we will write the following:


GET ( ) md5.php, jQuery , ..

md5.php :
<?php
echo md5($_SERVER['REMOTE_ADDR'].'xekxek');
?>


, , .:
<?php
if(!isset($_POST['hash']) || $_POST['hash'] != md5($_SERVER['REMOTE_ADDR'].'xekxek')) echo 'You are not human';
?>


, JS , md5.php ?

http://ru.wikipedia.org/wiki/ JS JS ..

: ?
: ??)))

')

Source: https://habr.com/ru/post/24402/


All Articles