View Single Post
Old 11-11-2011, 06:44 PM   PM User | #2
mlseim
Master Coder

 
mlseim's Avatar
 
Join Date: Jun 2003
Location: Cottage Grove, Minnesota
Posts: 9,055
Thanks: 8
Thanked 1,032 Times in 1,023 Posts
mlseim has a spectacular aura aboutmlseim has a spectacular aura aboutmlseim has a spectacular aura about
I don't know how picky you need to be about "random".
PHP doesn't really generate true random numbers.
Usually, it's not an issue ... but now you're talking about the lottery.

You can use a remote service like this to help make your script true random:
http://www.random.org/

Here is their API: http://www.random.org/clients/http/

I imagine there are other services like this. I just picked this because
I've used it before. If randomness quality is not an issue, then nevermind.


.
mlseim is offline   Reply With Quote