3 ms·
Why? You just need a random number.
by stavros 4y ago
Why? You just need a random number.
- lelanthran 4y agoThis! Send them a random number. If you really need it time-based then store the expiry time along with the code you sent them. Anytime you check the code you see if $current_time is greater than the $expiry_time.