Web Wiz
  Knowledgebase Knowledgebase      Customer Login Customer Login


Web Wiz CATCHA Version 4.x Integration



The following step by step guide describes how to install and integrate Web Wiz CAPTCHA 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 processes 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 at the top of the file (not within ASP blocks):-
    <!-- Include file for CAPTCHA configuration -->
    <!-- #include file="CAPTCHA/CAPTCHA_configuration.asp" -->
    Example:
    <!-- Include file for CAPTCHA configuration -->
    <!-- #include file="CAPTCHA/CAPTCHA_configuration.asp" -->

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

  6. In the same file place the following code into the part of your form where you wish the CAPTCHA image to be displayed within your 'web form':-
    <!-- 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>

  7. Next open the file (web page) in a text editor that is to process your web form input and place the following code at the top of the file (not within ASP blocks):-
    <!-- Include file for CAPTCHA configuration -->
    <!-- #include file="CAPTCHA/CAPTCHA_configuration.asp" -->

    <!-- Include file for CAPTCHA form processing -->
    <!-- #include file="CAPTCHA/CAPTCHA_process_form.asp" -->
    Example:
    <!-- Include file for CAPTCHA configuration -->
    <!-- #include file="CAPTCHA/CAPTCHA_configuration.asp" -->

    <!-- Include file for CAPTCHA form processing -->
    <!-- #include file="CAPTCHA/CAPTCHA_process_form.asp" -->

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

  8. Open in notepad the file named 'CAPTCHA_configuration.asp' found in the 'CAPTCHA' directory and edit the following line placing between the quote marks the name of the page you would like your users redirected to if the CAPTCHA code is entered incorrectly.
    '***** This is the name of the page you want users redirected to if CAPTCHA is entered incorrectly *****
    'Place the page to be redirected to between the quote marks below
    Const strIncorrectCAPTCHApage = ""
    Example:
    '***** This is the name of the page you want users redirected to if CAPTCHA is entered incorrectly *****
    'Place the page to be redirected to between the quote marks below
    Const strIncorrectCAPTCHApage = "incorrect_CAPTCHA_code.htm"

You may also want to read through the documentation on Customising the CAPTCHA Image to change colours and noise levels.


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.