Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Jun 2008
    Posts
    104
    Thanks
    71
    Thanked 0 Times in 0 Posts

    Question Simple CAPTCHA script

    How would I go about creating a simple "captcha" script that:

    Displays 8 colored squares, let's say from an array that has red, green, and black.

    It then displays these squares in a random order with a random number of the traget color.

    The user is asked to select all red squares for example. If the correct squares are selected the form is submitted.

    Any ideas? I'm still learning PHP, so I'm completely lost.

    Thanks!

  • #2
    Regular Coder Zangeel's Avatar
    Join Date
    Oct 2007
    Location
    public_html/
    Posts
    638
    Thanks
    17
    Thanked 79 Times in 79 Posts
    There's tons of tuts just search google
    PHP Code:
    $aString is_string((string)array()) ? true false// true :D 
    [/CENTER]

  • #3
    New Coder
    Join Date
    Apr 2009
    Location
    Belgium
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts


  •  

    Posting Permissions

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