Hello.
I have a script running for years on a PHP4 server, this script depends on the mt_srand() and mt_rand() php functions. I am moving now this script to a PHP5 server and I am getting different non-predictable values on this server. The thing is I need both servers to output the same values, that's why I was using mt_srand() which allegedly does that, everything else is exactly the same, only the PHP versions are different. Would there be a way without using these functions to generate a predictable, seedable random value, or force php5 random functions to behave like php4?
Thank you.