You are here: how to verify the code? « PHP Programming Language « IT news, forums, messages
how to verify the code?

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация