Please tell me, could such a Captcha alternative work?
Basically if I use something like this:
<?php
$foo_x=$_POST['foo_x'];
$foo_y=$_POST['foo_y']
?>
<form action="http://foo.com/function/" method="post">
<input type="image" alt="image" src="img.jpg" name="foo"/>
</form>
And so a real user would click at a random X,Y coordinates, which I can then pass to "function" which in turn will send the user to the content, unless it's a bot.
The question is whether a bot that would go to the link specified in action=
, would do so via the image - "clicking" on it, and if so then would the bot get a random coordinate or just "click" the exact center or the 0,0 coordinate? Or would it just go to the link directly without triggering $_POST
at all? Could a bot be programmed to "click" a random spot on such an image?
Do you know of a better way of achieving such anti-bot image functionality?
Thank you!