Marketing > Link Development

How to Generate Chapcha ?

(1/1)

Clarke87:
I create a website , now i wanna create a captcha code .... anyybody guide me ..........

JustinC:
To generate a unique CAPTCHA every time, a random number is generated using rand() function (rand()%62) which generates a random number between 0 to 61 and the generated random number is taken as index to the character array chrs[] thus generates a new character of captcha[] and this loop runs n (length of CAPTCHA)

Navigation

[0] Message Index

Go to full version