Re: [PHP] Netscape rand() not random

2001-01-17 Thread Joel Dossey
rand with srand() before the > rand() command... > > cheers, > > Rom > - Original Message - > From: Joel Dossey <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, January 17, 2001 1:39 PM > Subject: [PHP] Netscape rand() not random

Re: [PHP] Netscape rand() not random

2001-01-17 Thread Romulo Roberto Pereira
you need to seed the rand with srand() before the rand() command... cheers, Rom - Original Message - From: Joel Dossey <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 17, 2001 1:39 PM Subject: [PHP] Netscape rand() not random Hello, I have been toy

[PHP] Netscape rand() not random

2001-01-17 Thread Joel Dossey
Hello, I have been toying with php for a short while and have problems getting the following code to correctly execute on Netscape: "; } ?> I included the headers because I thought this would prevent caching, but even still, everytime I reload and shift-reload Netscape (browser cache is set