I need to generate one random number which should contain today's date and time and it will be unique using PHP. I have already generate one random number in javascript using the below format.
var today=(Math.random() * new Date().getTime()).toString(36).replace(/\./g, '');
How can i exactly generate the random number like above using PHP. Please help me.
Aucun commentaire:
Enregistrer un commentaire