Re: [PHP] Re: array_rand() not random

2004-06-15 Thread Nori Heikkinen
on Sun, 13 Jun 2004 01:15:20AM +0200, Kim Steinhaug insinuated: > Hmm... Ive been having same problems with mysql and picking random > numbers, I ended up having to program a rather more sofisticated > system to eliminate the stats you were referring to. > > You could, not that it will be any bett

[PHP] array_rand() not random

2004-06-11 Thread Nori Heikkinen
hi, i'm trying to use the array_rand() to return one of six images, culled from a directory listing. however, i've noticed that over the past five days, the log of images accessed is anything but a random distribution: 20 /jnl/images/banner/banner_viola.jpg 32 /jnl/images/banner/bw_ban