miniBB ®  
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual | miniBB Mobile
Specific miniBB Support Forums / Specific /   

automated registrations

Author maxtat
Registered
#1 | Posted: 5 Dec 2007 10:54 
I noticed that spammers have their names and "From" field the same. So I've added this string to the beginning of bb_func_regusr.php

if (isset($_POST['login']) && $_POST['login']==$_POST['from']) die ('Fatal error. U R a spammer.');
Author tom322
Registered
#2 | Posted: 5 Dec 2007 13:01 
I noticed that spammers have their names and "From" field the same. So I've added this string to the beginning of bb_func_regusr.php

if (isset($_POST['login']) && $_POST['login']==$_POST['from']) die ('Fatal error. U R a spammer.');


Do you mean robot spams or manual spammers?
Author Paul
CEO
#3 | Posted: 11 Dec 2007 10:15 
I noticed that spammers have their names and "From" field the same.

I am sure this is only your private case. Technically it is possible to send any value of any field, so your solution would be broken in 2 secs ;-)
Specific miniBB Support Forums / Specific / automated registrations Top
Your Reply Click this icon to move up to the quoted message
 Short link for this topic:

 ?
You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.

 
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
  Organize opinions on miniBB-forums,
collecting them with the Polls & Surveys add-on!
Polls addon for miniBB