guestbook spam - captcha without GD

Discussion in 'PHP' started by beefpuff, Jun 5, 2007.

  1. #1
    Hi all,

    I have a guestbook on my site which is being spammed. Is there a way to implement a captcha on guestbook page without the GD library?

    The GD library is not installed by my (free) webhost, but php and mySql are.

    Please let me know if you need more details.

    Rep will be added

    Thanks
    Alex
     
    beefpuff, Jun 5, 2007 IP
  2. krakjoe

    krakjoe Well-Known Member

    Messages:
    1,795
    Likes Received:
    141
    Best Answers:
    0
    Trophy Points:
    135
    #2
    krakjoe, Jun 5, 2007 IP
  3. beefpuff

    beefpuff Guest

    Messages:
    136
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks for the reply, rep added :)

    I'll look into intergrating it into my site.

    Do you have the link to the DP thread, it could be interesting.

    Alex
     
    beefpuff, Jun 5, 2007 IP
  4. krakjoe

    krakjoe Well-Known Member

    Messages:
    1,795
    Likes Received:
    141
    Best Answers:
    0
    Trophy Points:
    135
    #4
    lol, I can't find it, however it is definately here, it was a post about a "text captcha" script, and it turned into that, ErectADirectory posted it and I edited it a little, I'm sure if you search through the posts he has made you'll find more about it.
     
    krakjoe, Jun 6, 2007 IP
  5. ansi

    ansi Well-Known Member

    Messages:
    1,483
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    100
    #5
    OR, if you have an email field in there that needs to be filled out, rename the default one to like "webmail" or something and then add ANOTHER (this one is phony) and name it "email" then in an external stylesheet, set the display property to "none" so that it is hidden. a spam bot will see this and fill it out with crap so when your form is submitted, just check to be sure that the hidden mail input "email" is blank. normal users won't see the field so they won fill it out. after that, everything should be good.
     
    ansi, Jun 6, 2007 IP
  6. beefpuff

    beefpuff Guest

    Messages:
    136
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Sounds good as well. I'll experiment with it.
     
    beefpuff, Jun 6, 2007 IP