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

From: Date: Wed, 10 Jan 2001 23:19:25 +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-33832@lists.php.net to get a copy of this message
Through recognition technologies this will work nicely, am looking forward to it. The key is using oversized ping pong balls as to allow oversized letters, about a 8" radius ping pong ball will work. Be sure to use black ink. Also, keep in mind that ink increases weight so use balancing ink, similar to what one uses for tires (although tires use lead, not ink). The balancing ink should be transparent as to create a square plot, this way the ink will be evenly distributed on each ping pong ball as to create a truly random result. Granted it's a subtle difference but we DO want a random result. The trick is getting the camera to read the ping pong ball, read the manual on that. Some have inserted transmitters within the balls but that creates needless costs so it's not suggested. philip On Wed, 10 Jan 2001, Cal Evans wrote: > Put a web cam on it and we've got a winner! :) > > Cal > > -----Original Message----- > From: Monte Ohrt [mailto:monte@ispi.net] > Sent: Wednesday, January 10, 2001 4:21 PM > To: php-general@lists.php.net; Brandon Orther > Subject: Re: [PHP] How can I get a random number > > > You can blow some ping pong balls around in an enclosure and pick one, > that's pretty random :) > > For the next best thing to "random", you can use the rand() function in > PHP. > > Brandon Orther wrote: > > > > 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 > > -- > 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 > > > > -- > 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 (#33832) next »