note 31055 deleted from function.rand by sniper

From: Date: Tue, 23 Sep 2003 22:33:25 +0000
Subject: note 31055 deleted from function.rand by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-57001@lists.php.net to get a copy of this message
Note Submitter: franki at hill23 ---- just to correct scott's GenPass($_maxlen) function above. it actually returns a code one letter longer than $_maxlen unless you change the loop control to have $i<$_maxlen instead of $i<=$_mathlen like this: for ($i=0;$i<$_maxlen;$i++) good little function, shame about the typo ;)

« previous php.notes (#57001) next »