note 27525 deleted from function.getrandmax by nlopess

From: Date: Wed, 17 Dec 2003 16:23:26 +0000
Subject: note 27525 deleted from function.getrandmax by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-62129@lists.php.net to get a copy of this message
Note Submitter: steve@brainwashstudios.com ---- a follow up to the above it seems to work most ways like this <?php $num = getrandmax(); $generate = rand(0,$num); print ($generate); ?> That worked fine in all my tests also might be a good way to generate session ids

« previous php.notes (#62129) next »