[thelist] srand in php

Andrew Forsberg andrew at thepander.co.nz
Tue Oct 23 18:30:45 CDT 2001

>Does anyone know if there's a better way to get 8 random true or false values?

How about generating a random 8 bit binary integer, then comparing 
the bits? if 0 then no image, if 1 then show image?

Andrew Forsberg
uberNET - http://uber.net.nz/
the pander - http://thepander.co.nz/

More information about the thelist mailing list