Web Wiz
  Knowledgebase Knowledgebase      Customer Login Customer Login


Web Wiz CATCHA Version 3.x Advanced Integration



The following step by step guide describes how to install and integrate Web Wiz CAPTCHA version 3.x into your own websites forms.
  1. Check with your web host that your web space meets the system requirements for running Web Wiz CAPTCHA.
     
  2. Uses a zip utility program to extract the files to your hard drive keeping the original file structure intact.
    Extract files using a zip extraction tool
    The files named 'example.asp' and 'example_process_form.asp' are ONLY examples files of how Web Wiz CAPTCHA works and can be safely deleted.

  3. Place the folder, and it's contents, named 'CAPTCHA' into the same website directory as the web page you wish to integrate Web Wiz CAPTCHA is within.
    Directory Layout
  4. The web page that contains the HTML web form you wish to integrate Web Wiz CAPTCHA into and the page that process the web form submission must have an .asp extension (eg. my_web_form.asp and my_submit_process.asp (these are example file names and not a real files))
    Web Form Page .asp Extension
  5. Open your file (web page) that contains your web form in a text editor and place the following code into the part of your form where you wish the CAPTCHA image to be:-
    <!-- include the Web Wiz CAPTCHA form element -->
    <!--#include file="CAPTCHA/CAPTCHA_form_inc.asp" -->
    Example:
    <form action="example_process_form.asp" method="post" name="myForm" id="myForm">
      Name: <input type="text" name="name" id="name" />
        <!-- include the Web Wiz CAPTCHA form element -->
        <!--#include file="CAPTCHA/CAPTCHA_form_inc.asp" -->

      <input name="Submit Form" type="submit" id="Submit Form" value="Submit" />
    </form>

  6. Open the file (web page) in a text editor that is to process your web form input (this MUST be a different file to the web form which includes the CAPTCHA image), and place the following code at the top of the file (not within ASP blocks):-
    <!-- Include file for CAPTCHA form processing -->
    <!-- #include file="CAPTCHA/CAPTCHA_process_form.asp" -->
    Example:
    <!-- Include file for CAPTCHA form processing -->
    <!-- #include file="CAPTCHA/CAPTCHA_process_form.asp" -->

    <html>
    <head>
    <title>My Form Submission Page</title>

  7. Within the file you entered the code from the last step into you can call the following variable to check that the CAPTCHA code entered is correct.
    blnCAPTCHAcodeCorrect
    If the CAPTCHA code entered is correct the above variable with be set to True, if the CAPTCHA code has not been entered correctly the variable will be set to False.

  8. Below is some sample code to check the CAPTCHA code is correct:-
    <%
    'If CAPTCHA is entered correctly run the following code
    If blnCAPTCHAcodeCorrect = True Then

           'Place code here that is to run if CAPTCHA is entered correctly
           Response.Write("CAPTCHA code is correct")


    'If CAPTCHA is NOT entered correctly run the following code
    ElseIf blnCAPTCHAcodeCorrect = False Then

           'Place code here that is to run if CAPTCHA is NOT entered correctly
           Response.Write("CAPTCHA code is NOT correct")
    End If
    %>


 


Become a Fan on Facebook Follow us on Twitter Find us on Google+ Community Forums Web Wiz Blogs Web Wiz News
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Policy

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 5977755. Registered in England and Wales.
Registered office: Unit B10, 9 Nimrod Way, East Dorset Trade Park, Wimborne, Dorset, BH21 7UH, United Kingdom.

Prices exclude VAT unless otherwise stated. VAT No. 988999105 - $, € prices shown as a guideline only.


Copyright ©2001-2016 Web Wiz Ltd. All rights reserved.