Hello Gerard, The point is that we wanted adodb to work "out of the box" so that is why srand( ) is called. You can do it yourself if you want to (and comment out the srand) , or let adodb do it for you.
Regards John "Gerard Samuel" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Quick question. Im using srand to seed array_rand in a script. > I read that srand should only be called once per script under the srand > manual page. > Im using ADODB, and that also uses srand. Now should that warning be a > literal warning or should that > be 'use srand once per page'?? > > Thanks > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php