note 9937 rejected and deleted from rand by ronabop
| From: | ronabop@php.net | Date: | Wed, 06 Dec 2000 06:39:21 +0000 |
| Subject: | note 9937 rejected and deleted from rand by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-8464@lists.php.net to get a copy of this message | ||
On solari, I get the below error with the SourceForge installation:
Warning: rand(): Invalid range: 0..1000000 in
/export/home/Uploads/SF2.0/www/register/projectname.php
The rand function is defined as such in the projectname.php file:
srand((double)microtime()*1000000);
$random_num=rand(0,100000);
is this a bug with solaris 2.6??