Posted by nightcats on 09/16/07 11:52
Hi,
I try to put a very basic Capcha system in my forum. I've already
figure out how to randonly generate a combination:
<?
function Pass($i=8) {
srand((double)microtime()*1000000);
return strtoupper(substr(md5(uniqid(rand())),rand(0,32-$i),
$i));
}
echo Pass(4)."<br>";
echo;
?>
======
But I don't know how to generate an text area for my visitors to input
the code, and verify the value with the combination.
Can anyone help me to finish the rest of the verification process?
Thanks thanks thanks thanks a million.
[Back to original message]
|