08-08-2008, 05:21 AM
Hi
I said I'd do it and here it is! A captcha for your create page!.
I'll update it in a while with some extra stuff.
INSTALLATION
1) Upload the attached files to /create/ajofcaptcha/
2) Open /create/index.php
3) find
after add
4) open mkforum.php
5) find
after add
Now find
after add
6) There is no 6, your done!
Any problems then reply here!
I said I'd do it and here it is! A captcha for your create page!.
I'll update it in a while with some extra stuff.
INSTALLATION
1) Upload the attached files to /create/ajofcaptcha/
2) Open /create/index.php
3) find
PHP Code:
<input name='forumname' type='text' id='forumname'> <span class='style10'>The displayed name for your forums that appears on all pages of your forums.</span>
after add
PHP Code:
<br><br>
<p align='left'><span class='style6'><u>Captcha</u></span><br><br>
<img src='ajofcaptcha/captchagen.php'><br>
<input type='text' id='captcha' name='captcha'> <span class='style10'>Please enter the text as it appears in the image above. (Note: Entry is case sensitive)</span>
4) open mkforum.php
5) find
PHP Code:
$display = $_POST['forumname']; //Forum Name as it appears on forums
after add
PHP Code:
$capinput = $_POST['captcha']; // Ajof Captcha User input
Now find
PHP Code:
//Check that the passwords are the right length, otherwise give up
$pwlen = strlen($pass1);
if($pwlen < 6) {
die("The password you entered is too short! It needs to be at least six characters long. Please go back and try again.");
}
after add
PHP Code:
// ***********************************************************************************
//Do Ajof Captcha Stuff
session_start();
$captrue = $_SESSION['ce'];
$capinput = md5($capinput);
if($capinput != $captrue)
{
die("Sorry the captcha text you entered was incorrect. Please note that entry is case sensitive.");
}
session_destroy();
6) There is no 6, your done!
Any problems then reply here!

Or, have a variety of different backgrounds, randomly selected, and a little "Load a different CAPTCHA" link in case one is illegible to the current user.