Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: CAPTCHA Alternative: Simple Math Question

  1. #11
    Join Date
    Aug 2010
    Posts
    7

    Default Re: CAPTCHA Alternative: Simple Math Question

    Can I get the information on how to use this with autoresponding? I need to make this as simple as possible since the form is used on an internal network. I would rather not need to use the Captcha but if I have to I need it simple..

    TIA
    Rick

  2. #12
    Join Date
    Feb 2013
    Posts
    1

    Default Re: CAPTCHA Alternative: Simple Math Question

    Got this working but a couple of notes and one remaining problem...

    I had to change the line in formmail.php to
    Code:
    $ATTACK_DETECTION_REVERSE_CAPTCHA = array ("mgsfld1"=>$aFormVars[spam_ans],"mgsfld2"=>"");
    was 
    $ATTACK_DETECTION_REVERSE_CAPTCHA = array "mgsfld1"=>$spam_ans,"mgsfld2"=>"");
    The sample code omits the line (though the need is mentioned in the instructions)
    Code:
    <input name="mgsfld2"  id="mgsfld2" type="hidden" value=""  />
    MY PROBLEM:
    I've set a bad_url
    Code:
    <input type="hidden" name="bad_url" value="fail.html">
    But for incorrect captcha value I'm getting an ugly page that says "Your form submission has been rejected as it appears to be an abuse of our server ..."
    (good_url works OK)

    I didn't quite grasp jzieba's posting of 16-Aug-2009 but it sounded as if it may have been addressing this problem...

    SO I've tried what I think he suggests (but not sure why changing mgsfld1 to answer should make any difference)

    Code:
    <input name="mgsfld1" type="text" value="" size="4" /> 
    to 
    <input name="answer" type="text" value="" size="4" />
    and 
    
    $ATTACK_DETECTION_REVERSE_CAPTCHA = array ("mgsfld1"=>$aFormVars[spam_ans],"mgsfld2"=>"");
    to 
    $ATTACK_DETECTION_REVERSE_CAPTCHA = array ("answer"=>$aFormVars[spam_ans],"mgsfld2"=>"");
    
    and adding:
    
    <input type="hidden" name="required"  value="answer=spam_ans" />
    I still don't get my bad_url page for incorrect input.

  3. #13
    Join Date
    Nov 2013
    Posts
    1

    Default Re: CAPTCHA Alternative: Simple Math Question

    Thanks for your sharing.

  4. #14
    Join Date
    Nov 2013
    Posts
    10

    Default Re: CAPTCHA Alternative: Simple Math Question

    The nice thing about it is that its very easy to add anywhere you want.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Newbie question on open_basedir error
    By zenprofit in forum FormMail Subscription Support
    Replies: 14
    Last Post: 14-Feb-2005, 09:35 PM
  2. question about PHP version 4.3.8
    By djgotee in forum FormMail Subscription Support
    Replies: 4
    Last Post: 28-Nov-2004, 11:46 PM
  3. TARGET_EMAIL question
    By middleburyman in forum FormMail Subscription Support
    Replies: 1
    Last Post: 03-Sep-2004, 08:30 PM
  4. Uploading question
    By tray in forum FormMail Subscription Support
    Replies: 2
    Last Post: 11-Aug-2004, 09:31 PM
  5. at mangle / e-mail question
    By Ibis in forum FormMail Subscription Support
    Replies: 3
    Last Post: 25-Feb-2004, 02:59 AM

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
  •