seeding using mt_srand();

From: Date: Wed, 16 Oct 2002 12:33:52 +0000
Subject: seeding using mt_srand();
Groups: php.general 
Request: Send a blank email to php-general+get-120173@lists.php.net to get a copy of this message
Let's say you have a simple PHP file that just displays a random number. When the user hits the submit button, the page will reload and display another random number. How often do you need to call mt_srand(); ? Just once? Or each time the page gets reloaded?

« previous php.general (#120173) next »