this is a function that I wrote to solve this problem, but it is almost
impossible to get a truly random number you can get somthing pretty close by
seeding with somthing like the time function, using the seconds since epoch
and this should be hard to duplicate.
$rand";
$lownum = "1";
$highnum
CTED]>
To: "'April'" <[EMAIL PROTECTED]>; "PHP General"
<[EMAIL PROTECTED]>
Sent: Friday, January 26, 2001 2:58 PM
Subject: RE: [PHP] rand(), mt_rand(), and my inability to make either of
them random.
> this is a function that I wrote to solve this
;April" <[EMAIL PROTECTED]>
To: "Robert Collins" <[EMAIL PROTECTED]>; "PHP General"
<[EMAIL PROTECTED]>
Sent: Friday, January 26, 2001 3:15 PM
Subject: Re: [PHP] rand(), mt_rand(), and my inability to make either of
them random.
> Thanks. It doesn
3 matches
Mail list logo