0

how to create captcha code in php???

25th Oct 2016, 5:43 PM
Abhishek Mehta
Abhishek Mehta - avatar
3 Respostas
+ 1
1. create random string and save this with session in db 2. check user input with saved string in db
27th Oct 2016, 11:08 PM
Dennis Glowiszyn
Dennis Glowiszyn - avatar
0
trying creating different array variables to hold characters you want to hold display. each array representing one character in the captcha. Then use the shuffle function on each array and a rand() to randomly pick an index from the range of your arrays and then echo with concatenation. it's really brute forcing it, but it should work for a basic captcha.
30th Oct 2016, 6:58 AM
Rogelio Monteagudo
Rogelio Monteagudo - avatar
0
You can learn how to create Captcha code in PHP http://www.phpcluster.com/create-captcha-code-php/
15th Mar 2018, 6:06 AM
Vikash