Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: [Javascript/PHP] Click Captcha

  1. #1
    Join Date
    May 2007
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default [Javascript/PHP] Click Captcha

    1) CODE TITLE: Click Captcha

    2) AUTHOR NAME/NOTES:

    3) DESCRIPTION: Requirements - php 4.3 or greater with GD support.

    Click Captcha is a randomly generated gif file that is dynamically displayed
    in a random area below form with 9 random color combinations and the
    click number is randomly displayed to the right or left making 18 different
    images with random numbers from 11 to 99 the generated gif file is less than 0.39 KB.

    4) URL TO CODE: http://6tx.net/sc/ccode.html

    or, ATTACHED BELOW (see #3 in guidelines below):

  2. #2
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Nice script, looks simple to integrate into a website and looks simple enough to edit (or configure for your own use).

    Good job.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  3. #3
    Join Date
    May 2006
    Location
    Sydney, Australia - Near the coast.
    Posts
    1,995
    Thanks
    0
    Thanked 8 Times in 7 Posts

    Default

    It's so hard to see though.
    Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
    Currently: enjoying the early holidays :)
    Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide

  4. #4
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Interesting. It works fairly well, but there are two problems--
    1. The numbers are actually fairly hard to read... good for the spambots, but bad for users who don't have great eyesight. I've got 20/20, and a fairly bright monitor, and it's tough.
    2. It seems that the spambot could, potentially, be configured to use the javascript source to find where it submits. Doing it serverside would be the only secure way, allowing for not having the 'correct answer' in the source.

    Also, there are odds involved in this. A bot wouldn't mind trying this 20 times, one of which would likely be correct, even if it's just "guessing". Captchas work in the first place because you must read then interpret what is asked for, not just find/guess it.


    EDIT: I was looking at the demo, so I hadn't refreshed to see your post, Tech.


    Note: I also changed the title to something more descriptive; that's always helpful.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  5. #5
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    It really needs to have an associated audio file too, for visually impaired users.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  6. #6
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Audio wouldn't work in any way for this, since it's a matching game.
    Mouseover sound clips of various numbers?
    "Click the area that when rolled over says '42'."
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  7. #7
    Join Date
    May 2006
    Location
    Sydney, Australia - Near the coast.
    Posts
    1,995
    Thanks
    0
    Thanked 8 Times in 7 Posts

    Default

    That'll work.
    Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
    Currently: enjoying the early holidays :)
    Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide

  8. #8
    Join Date
    May 2007
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you everyone for your input.

    The point of a click captcha vs. one that you type.
    Many use auto form fill and it is much faster to click once
    vs. type 5 to 10 or more hard to see characters

    All The Best,
    Ron

  9. #9
    Join Date
    May 2006
    Location
    Sydney, Australia - Near the coast.
    Posts
    1,995
    Thanks
    0
    Thanked 8 Times in 7 Posts

    Default

    You could make JS to clear the forms on onload.
    Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
    Currently: enjoying the early holidays :)
    Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide

  10. #10
    Join Date
    May 2007
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by tech_support
    You could make JS to clear the forms on onload.
    I made the form to demo Captcha and values are pre set.

    I changed code to make it easier to see
    numbers.

    All The Best,
    Ron

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •