PDA

View Full Version : You can use this other than GD and captcha


westmatrix99
10-04-2007, 09:52 AM
You can use checkform with this in dreamweaver to validate the two textboxes or your own PHP check value script, ENJOY.<?php
$random_chars2 = substr(str_shuffle('1234567890'), 0, 6); /set your characters or numbers and the amount of text here.
$_SESSION['secret']=$random_chars2; /The random key.
?>Working script:
<div align="left">
<p>Copy and paste this number into the box below to continue.<br />
<?php
$random_chars2 = substr(str_shuffle('1234567890'), 0, 6);
$_SESSION['secret']=$random_chars2;
?>
<input type="text" name="randomkey" value='<?php echo $_SESSION['secret'];?>' readonly="true">
</p><p> Paste the number here to continue.<br />
<input name="vercode" type="text" maxlength="6" />
</p></div>I hope I don't get an infraction for this helping thread.

NancyJ
10-04-2007, 10:32 AM
I don't know about infraction but this is the wrong forum ;) Stuff like this has it's own dedicated forum.

westmatrix99
10-04-2007, 10:38 AM
Which one?

mlseim
10-04-2007, 01:13 PM
It's PHP, so just leave it here.

If someone searches for "captcha", they will see your post too,
so it might be helpful to someone looking for an alternative.

westmatrix99
10-04-2007, 01:26 PM
Apart from having someone tell me that it's insecure.
Unless you want to spam then you will find a way around even the most difficult spambot stoppers.

I hate people who spam.

CFMaBiSmAd
10-04-2007, 01:32 PM
NancyJ was referring to the following forum section -
Post a PHP snippet
Post a useful PHP snippet or function that addresses a specific issue.Its' listed right at the top of the PHP forum section.

westmatrix99
10-07-2007, 09:41 AM
Sorry, will do next time.