Form Captcha Magic

Version 1.0


"Best way to prevent automatic submission to your form"

Table of contents:

System requirements

Installation

Installing the PHP Form Captcha is a very easy process, and only takes around 5 minutes from start to finish. Our installation routine has been designed with the novice in mind to ensure an easy installation..

  1. Please UnZip the package you received .
  2. Now that you have the files unzipped on your computer, you need to upload them to your server into the same directory of your web form

IMPORTANT  NOTE:-

    Did this title grab your attention? Good! It should really do! Please read on ...

You should be 100% sure that the files config.php, captcha.php, captchalib.php, check.php and the subdirectory admin are exists  in the same directory of your web form

  1. Give read/write permissions to the file config.php , this file will include your preferences, it needs to be accessible for reading and writing operations that can be done easily by right click on it and select properties

  2. Open the admin page on your browser at: .. /admin/admin.php (i.e http://your-server-name.com/path-To-your-form-directory/admin/admin.php)
  3. You should see a login area, please use the following login info :  username : admin    password: admin
  4.  Enter the URL of the form you want to secure in the "Form URL" field, the first field in the admin page, then you need to change the login info of the admin page by adding new username and password in the "Admin login info", the last section of the admin page.
  5. Now open the form you want to protect , add the following HTML code  somewhere inside the <form> and </form>
 Enter the code shown <input type="text" name="pfw_security_code" size="20"><p><img border="0" src="captcha.php" ></p>

the above HTML code will generate the captcha picture which include the distorted text appears in your form along with a text box for your visitor to enter the security code he sees in the picture.

  1. Open your form processor file  , it's name should be mentioned in the "action" parameter of your <form> tag, please add the following PHP line at the  top of the file just after the "<?php" line or after the validation code if you are aware of PHP scripting

require_once("check.php");

Now  open your form in the browser , you should see the captcha image, if you don't see the image please click here , the distorted text should be changed whenever you refresh your form , try to enter an invalid security code and see weather or not the error message appears correctly then try to add it correctly and see what happens , To change size, font, border, error message mode please display the admin page and make any changes you like at ../admin/admin.php

Administration

The administration page is used to change the characteristics of the captcha system so that you may tailor it to meet your expectations, the admin page includes 5 important sections :

  

         IMPORTANT  NOTE:-

        the above feature is not recommended unless the form doesn't make anything other than checking the security code which is very rare..

FAQ

 Q: I don't see the turing picture in my form ?
 A: This might happened if you try to open the form on your computer by just double clicking the form file, this wont display the image because it is created by a PHP script need to be run on your server,  you need to share the folder which contain the form in your PC, then open your browser and type http://localhost/folder-name/form-name.html  or simply upload the form ,type the URL of it in the address bar of your browser. 

 also you need to make sure that

 Q: Can turing text be case insensitive?
A: Yes, All you have to do is display the admin page at /admin/admin.php and uncheck the "sensitive security code comparison" box .

 

 Q: Can the size of turing image and length of security code be changed?
A: Yes, you can change size , font , border  and code length from your admin page 

Support:

If you still have any question please contact us at sales@websitedatabases.com , we will respond within one business day .