Fight Against Auto-Register Robot
-
Hours after I setup my site, I found 12 spam users, whose URL is just a porn site. They seem to use automatic system to register.
To fight against, I used a very easy way:
1. I added a note to the website field of registration form: Do NOT fill in this field. Only spammers do.
2. Add the following line after
Line 13: $user_url = bb_fix_link( $_POST );
It blocks any registration with the website field:
//Added by Jian Shuo Wang to avoid spam users
if(! ($user_url == ”))
My assumption is, robot don’t read about the “NO website” claim and people do.
exit;
- You must be logged in to reply to this topic.