Results 1 to 5 of 5

Thread: Form verification

  1. #1
    Join Date
    Feb 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Form verification

    I use 'Formail' for visitors to complete an online form, which although works fine, has recently recorded a number of false submissions, which I suspect are submitted via a virus or other 'non human' origin. (logfile lists no browser)
    To stop these, is it possible to have force the user to retype a number of letters from an image, to confirm 'human' submission, just like a lot of commercial sites?

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

    Default

    Yes, but these images should be generated via a server-side script. Using PHP, the GD image-manipulation library allows you to generate an image dynamically. There is no equivalent for the audio file you should use in tandem (for visually-impaired users), but festival does a nice job, and you can call it with shell_exec().
    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!

  3. #3
    Join Date
    Feb 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    This looks heavy stuff for a new user!!
    Are you aware of an easy way to acheive this, some code which is already written, or a script file?

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

    Default

    http://www.blueeye.us/wordpress/?p=5
    I'm not sure about audio-generation. This use of festival requires more of a knowledge of shell usage than PHP, though, so you should be OK.
    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!

  5. #5
    Join Date
    Feb 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Twey
    http://www.blueeye.us/wordpress/?p=5
    I'm not sure about audio-generation. This use of festival requires more of a knowledge of shell usage than PHP, though, so you should be OK.
    But isn't this just for Wordpress?
    I have a form which is submitted via Formail, to email. Are you suggesting that it could be modded to work with a form?
    The form is at http://www.safeinsouthyorks.co.uk/form.html which I am trying to protect from automated posts.

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
  •