RE: [PHP] How can I get a random number

From: Date: Wed, 10 Jan 2001 22:19:45 +0000
Subject: RE: [PHP] How can I get a random number
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-33810@lists.php.net to get a copy of this message
<? srand((double)microtime()*1000000); $id = rand(1,10000000000); echo ("$id"); ?> -----Original Message----- From: Brandon Orther [mailto:brandon@webintellects.com] Sent: Monday, January 10, 2000 5:14 PM To: PHP User Group Subject: [PHP] How can I get a random number How can I get a random number Thank you, -------------------------------------------- Brandon Orther WebIntellects Design/Development Manager brandon@webintellects.com 800-994-6364 www.webintellects.com -------------------------------------------- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#33810) next »