I have a script where I use the rand function in PHP. Now I read some ghost stories that its real easy to predict those outcomes. Is this possible from the client-side?
For example, let say we have a rand(0,10). Is it possible to predict the next number?
rand()function returns a pseudorandom number .This does NOT mean that the
nextnumber can be predicted.However this image can explain the concept of word
pseudorandomYou can read this article
the image is generated from a simple loop with
randfunction on windows system.It’s not so random, really? But now that you know it… you can predict the next number?