This might or might not be a factor into this thread, so please keep that into consideration.
I'm not totally sure what you're talking about with the captchas. Are those the image boxes that appear on registration forms to prevent automatic registrations? I read in an earlier post that "captchas are extremely easily defeated." Is that a problem? I'm not good at PHP but I know my share. Just being bored, I made this simple script that generates a random number on-the-fly (determined by the date on the server; that was easiest to do) and then requires the same generated number for verification purposes. The simple script I made:
Code: Select all
<?php
// The following is used for the purpose of declaring values for the user-confirmation box.
$second=date(s);
$minute=date(m);
$hour=date(h);
$set1=$second * 25;
$set2=$minute * 33;
$set3=$hour * 2;
$set4=$second * 33;
$set5=$minute * 11;
$set6=$hour * 3;
$totals1=$set1 + $set2 + $set3;
$totals2=$set4 + $set5 + $set6;
$confirm=$totals1.$totals2;
echo $confirm;
?>
<form method=post action=page.php>
<input type="hidden" name="confirm" value="<?php echo $totals1.$totals2; ?>">
<INPUT TYPE="text" NAME="user_defined_confirm" SIZE="30">
<p>
<INPUT TYPE="submit">
</form>
When the code is placed in a PHP page, it generates a 8-9 digit number that the user must type into a form. On the results page, using an if/else statement, content displays according to what the user types in the verification box. I have a copy running at
www.ozzyasylum.com/verification.php I have no idea if this could help but I'm thinking it just might be a decent way to trick spambots, as the numbers are generated by the time on a server and are very random. I dunno if this post helps any but I figured that by using this, this script of yours or one like it could be made fairly safe from spambots. Again, I dunno a lot about PHP so there could be errors or whatnot in this idea.
Maybe a good MOD would be to add something similar to this on all post pages when viewed by an unregistered user ie If a guest wants to post, he/she would have to fill out a verification box to send their post to the server. Maybe this MOD already exists. I dunno. I'm just trying to be helpful with what little I know