Solve media captcha validation

Home Forums Quform PHP Solve media captcha validation

This topic is: resolved
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #6741
    i82fast
    Participant

    I already posted this on the item comment page but notice that I’ll get a faster responds here.

    I was wondering how I’ll go about to implant solve media. This is the code I put in the php page of the site

    <div class="quform-element quform-element-recaptcha">
    <div class="quform-spacer">
    <div class="quform-input">
    <label for="solvemedia">Captcha <span>*</span>

    <?php
    include_once 'quform/lib/solvemedialib.php';
    echo solvemedia_get_html("your public key");
    ?>
    </label>
    </div>
    </div>
    </div>

    Below is the template from solve media to validate the form but I have no clue on how to implant it

    require_once("solvemedialib.php");
    $privkey="your_private_key";
    $hashkey="your_hash_key";
    $solvemedia_response = solvemedia_check_answer($privkey,
    $_SERVER["REMOTE_ADDR"],
    $_POST["adcopy_challenge"],
    $_POST["adcopy_response"],
    $hashkey);
    if (!$solvemedia_response->is_valid) {
    //handle incorrect answer
    print "Error: ".$solvemedia_response->error;
    }
    else {
    //process form here
    }

    a little direction on what I have to do would help greatly

    #6752
    i82fast
    Participant

    I decided to ditch the solve media captcha and go with a honey pot method. How would I go about adding this?

    #6756
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #6782
    i82fast
    Participant

    Hello Ally,

    Thanks alot for the help this works. I also have one more problem, my auto reply isn’t working. I have set it to true in proccess.php and have added an email address to the autoreplyFrom. I’m using my host email.

    #6793
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #6800
    i82fast
    Participant

    thanks that fixed it

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy