note 30562 added to function.rand

From: Date: Sat, 22 Mar 2003 03:55:09 +0000
Subject: note 30562 added to function.rand
Groups: php.notes 
Request: Send a blank email to php-notes+get-45629@lists.php.net to get a copy of this message
Correction to my previous note: Debian Woody is currently running PHP4.1.6 At the top of this page is says that rand() must be primed using srand() in versions prior to PHP4.2.0 I added the priming into the random password function and now I have nice pseudo-random passwords every time! :-) Cheers again. -- http://www.php.net/manual/en/function.rand.php http://master.php.net/manage/user-notes.php?action=edit+30562 http://master.php.net/manage/user-notes.php?action=delete+30562 http://master.php.net/manage/user-notes.php?action=reject+30562

« previous php.notes (#45629) next »