honeypot

How effective is the honeypot technique against spam?

核能气质少年 提交于 2019-11-27 04:22:15
By "honeypot", I mean more or less this practice: #Register form <style> .hideme{ display:none; visibility: hidden; } </style> <form action="register.php"> Your email: <input type="text" name="u-email" /> Choose a password: <input type="text" name="passwd" /> <div class="hideme"> Please, leave this field blank: <input type="text" name="email" /> #the comment is for text-browser users </div> <input type="submit" value="Register" autocomplete=off /> </form> //register.php <?php if($_POST['email'] != ''){ die("You spammer!"); } //otherwise, do the form validation and go on. ?> more info here .

How effective is the honeypot technique against spam?

感情迁移 提交于 2019-11-26 11:04:48
问题 By \"honeypot\", I mean more or less this practice: #Register form <style> .hideme{ display:none; visibility: hidden; } </style> <form action=\"register.php\"> Your email: <input type=\"text\" name=\"u-email\" /> Choose a password: <input type=\"text\" name=\"passwd\" /> <div class=\"hideme\"> Please, leave this field blank: <input type=\"text\" name=\"email\" /> #the comment is for text-browser users </div> <input type=\"submit\" value=\"Register\" autocomplete=off /> </form> //register.php

Better Honeypot Implementation (Form Anti-Spam)

*爱你&永不变心* 提交于 2019-11-26 10:09:08
问题 How do we get rid of these spambots on our site? Every site falls victim to spambots at some point. How you handle it can effect your customers, and most solutions can discourage some people from filling out your forms. That\'s where the honeypot technique comes in. It allows you to ignore spambots without forcing your users to fill out a captcha or jump through other hoops to fill out your form. This post is purely to help others implement a honeypot trap on their website forms. Update: