Afficher un message
Vieux 16/09/2007, 13h52   #1
nightcats@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut how to verify the code?

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 me to finish the rest of the verification process?
Thanks thanks thanks thanks a million.

  Réponse avec citation
 
Page generated in 0,04555 seconds with 9 queries