Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - stop spammers
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

stop spammers

 Post Reply Post Reply
Author
MadDog View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 01 January 2002
Status: Offline
Points: 3008
Post Options Post Options   Thanks (0) Thanks(0)   Quote MadDog Quote  Post ReplyReply Direct Link To This Post Topic: stop spammers
    Posted: 21 February 2011 at 6:08am
So today while recoding my portal to use reCaptcha and improving anti-spammer functions all over the place i came across www.stopforumspam.com

Just letting others know about it. Seems like a pretty cool thing for other forum admins. Im working on a site that has 25k+ members. 15K are all "unconfirmed". Just ran a test script to check emails against their API about 80%+ came back as spammers. Not sure about false positives just yet but seems like if their unconfirmed this long they probably stopped by to spam anyways.

Maybe other developers have systems that suffer from spammers and could benifit from it.

Here is a very crappy quickly coded snippet:

Dim objXmlHttp 
Set objXmlHttp = Server.CreateObject("Msxml2.ServerXMLHTTP") 

Dim saryMembers

strSQL = "SELECT tblAuthor.Username, tblAuthor.Author_email FROM tblAuthor WHERE Active = 0 AND Author_email <> '';"

rsCommon.Open strSQL, adoCon

saryMembers = rsCommon.getRows()

rsCommon.Close
adoCon.Close
Set adoCon = Nothing
Set rsCommon = Nothing

Response.Write(vbCrLF & "<b>Total members to check: " & UBound(saryMembers, 2) + 1 & "</b><br />")

For intLoopCounter = 0 TO UBound(saryMembers, 2)
objXmlHttp.open "POST", "http://www.stopforumspam.com/api?email=" & saryMembers(1, intLoopCounter), False 

objXmlHttp.send "" 
Response.Write(vbCrLF & saryMembers(1, intLoopCounter) & " ")

If Instr(objXmlHttp.responseText , "<appears>yes</appears>") = 0 Then
Response.Write("<span style=""color: green;"">Good</span>")
Else
Response.Write("<span style=""color: red;"">Banned</span>")
End If

Response.Write("<br />")
Next

Set objXmlHttp = Nothing

Cya Wink
Back to Top
MadDog View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 01 January 2002
Status: Offline
Points: 3008
Post Options Post Options   Thanks (0) Thanks(0)   Quote MadDog Quote  Post ReplyReply Direct Link To This Post Posted: 21 February 2011 at 7:01am
Back to Top
webcommerce View Drop Down
Newbie
Newbie


Joined: 16 February 2011
Location: Melbourne
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote webcommerce Quote  Post ReplyReply Direct Link To This Post Posted: 28 March 2011 at 6:39am
I have been using  http://akismet.com/ - http://akismet.com/ for all of my web forms and they get rid of 99% of spam that used to come through prior to installing their scripts.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.