1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Stopping comment spam

Discussion in 'Content Management' started by alstar70, Feb 24, 2007.

  1. #1
    I run a website http://www.article-gems.com and have my comments spams by a viagra robot - 10-25 comments a day all from different sites (I think it uses these others sites like a virus would).

    Any suggestions how I can stop this without having to delete 20 plus comments a day?
     
    alstar70, Feb 24, 2007 IP
  2. n-james

    n-james Well-Known Member

    Messages:
    1,367
    Likes Received:
    70
    Best Answers:
    0
    Trophy Points:
    165
    #2
    add image verification
     
    n-james, Feb 24, 2007 IP
    alstar70 likes this.
  3. alstar70

    alstar70 Peon

    Messages:
    894
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thanks for your response, any suggestion where I can get the script and how do I install it?
     
    alstar70, Feb 24, 2007 IP
  4. Erind

    Erind Peon

    Messages:
    663
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #4
    hmmm... You can make a very very simple one and keep changing it everytime if it continues:

    1. make 5-10 images (named check1.gif check2.gif etc...)
    2. pick random integer 1-10.
    3. echo image...
    4. echo a hidden input with the value of the image.., and ask forthe verification.
    5. get hidden input and match it with the verification.

    if you have very, very basic php that should be good. maybe make more images and make it more complex later on. A person who codes spam bots would be able to get around this, but I don't think people who do this code for specific sites. they just get a huge list of urls and run the bot like theres no tomorrow, soyou should be safe with this method.
     
    Erind, Feb 24, 2007 IP
  5. psyberweb

    psyberweb Peon

    Messages:
    585
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #5
    there are a couple of free captcha scripts that are open source flying around..it would help you though.
     
    psyberweb, Feb 25, 2007 IP
  6. Swordfish

    Swordfish Active Member

    Messages:
    988
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    70
    #6
    ya captcha is the norm for most spam protection including comments, form submissions, image uploads, etc.

    Plenty of free ones circulating.
     
    Swordfish, Feb 26, 2007 IP