
Read carefully before using
--------------------------------
get more free scripts at http://wapforge.com


This is a javascript simple bot used for user interaction..its just a sample so play with it....


Cheap Hosting at http://kloudeserve.net
----------------------------------

INSTRUCTIONS

STEP 1

Extract the content to your root folder ,that is public_html or htdocs


STEP 2
Put the code below inbetween the <head> </head> of your registration page

CODE :

session_start();
----------------------------------------

STEP 3
add the code below to your form..your form must be with the extension name.php

CODE :

<div class='form-captcha'>Captcha<br>
<span align='left'><img  src='captcha.php' alt='captcha' /></span>
</div><br>
<div>

<input type='text' name='captcha'  placeholder='enter captcha' /> </div>
<div >
-------------------------------------------------------------------------
STEP 4
Put the code below inbetween the <head> </head> of your registration page

CODE :

session_start();


STEP 5

add this to the page that will proccess the registration  form

CODE :

//getting the captcha security codes
$session_captcha=$_SESSION['captcha_code'];

 $user_captcha=$_POST['captcha'];
 
 //cleaning our captcha codes
 $user_captcha=htmlentities($user_captcha);

if(!preg_match("/(^[a-zA-Z0-9]+)$/",$user_captcha)){


die("Captcha code is invalid");

 
 }

 //comaparing if the captcha codes matches
 if(!strcmp($user_captcha,$session_captcha)=='0'){
 
 die("The security code you entered is invalid");
 
}//end captcha check



Demo : http://adrazz.net/register.razz
get more free scripts at http://wapforge.com


This is a javascript simple bot used for user interaction..its just a sample so play with it....


Cheap Hosting at http://kloudeserve.net
-------------------------