samedi 26 novembre 2016

How to generate just one random number

I want to generate one random number when a timer runs out that everyone will see in javascript or php. But if I just use Math.random() it will generate a random number for each page that is open when the timer runs out. How can I do this so I only generate one number for the entire site.

Thanks




Aucun commentaire:

Enregistrer un commentaire