Code: Select all
// Define available charset
Code: Select all
// Define available charset
karlsemple wrote: It is not that simple, as the Vc image is now generated by the dss_rand() function called in the usercp_register.php and inserted in the confirm table, and this is then pulled via the usercp_confirm to generate the image. you would have to re-write/modify the dss_rand functions to stop the image using letters
Code: Select all
$chars = array('A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', '1', '2', '3', '4', '5', '6', '7', '8', '9');
Nightrider wrote: This comment implied that this is what is made available:
So where does it feed the charset to the Random generator? It will only spit back characters from the array fed in...Code: Select all
// Define available charset
Nightrider wrote: Yep, I see that this is a lot more complicated than I anticipated. So do you know enough to teach Flesh how to modify the code to generate only valid numbers???
karlsemple wrote:Nightrider wrote: Yep, I see that this is a lot more complicated than I anticipated. So do you know enough to teach Flesh how to modify the code to generate only valid numbers???
Yes, but this would be making an already weak VC image even weaker
flesh wrote:karlsemple wrote:Nightrider wrote: Yep, I see that this is a lot more complicated than I anticipated. So do you know enough to teach Flesh how to modify the code to generate only valid numbers???
Yes, but this would be making an already weak VC image even weaker
no matter
I will be very grateful if you could help
Nightrider wrote: We've been a lot more flexible on what is discussed here in the EM Forums than they are over at phpBB.com. I don't have a problem trying to help people who have asked for help with their EM problems with other problems they encounter as well. Many of these problems are interconnected, so even if it doesn't directly relate to EM, the discussion usually evolved from an EM related problem. I see no good reason to become less tolerant in this community. That can be reserved for the phpBB.com community...