Generate Random Token number in Php using mt_rand function

By | January 4, 2014

Mostly in cases of User verification we use Random number as a Token Code of Verification that are combination of characters and numbers and send via Email Verification link or by SMS.

But it is more important that new generated token number will be generate all time unique for different different user.

in this Article i’m sharing Php Script that generate specified length Token number with a combination of Number and Characters using mt_rand function that Generate a better random value.

Category: Php

Leave a Reply

Your email address will not be published. Required fields are marked *