Erron on line 198 and 199 - 02/19/2001 7:11 PM
Hi,
I just dl the newest version from you website and installed it.
its running now on win2k IIS php-4.0.4pl1-Win32 and mysql-3.23.33-win. Everything is looking ok only one thing is not function ok.
when i try to register someone and i hit the submit button the new page loads ok but i get 2 error lines on top of the page.
Warning: mt_rand(): Invalid range: 0..0 in c:\inetpub\wwwroot\forum\adduser.php on line 198
Warning: mt_rand(): Invalid range: 0..0 in c:\inetpub\wwwroot\forum\adduser.php on line 199
the corresponding lines are
$one = intval(mt_rand(0,$chars));
$two = intval(mt_rand(0,$chars));
Is their anyway around them?
Thx in Adv.
NrG
btw: the file showmembers.php is missing in this version. dunno if it has to be or its a mistake.
I just dl the newest version from you website and installed it.
its running now on win2k IIS php-4.0.4pl1-Win32 and mysql-3.23.33-win. Everything is looking ok only one thing is not function ok.
when i try to register someone and i hit the submit button the new page loads ok but i get 2 error lines on top of the page.
Warning: mt_rand(): Invalid range: 0..0 in c:\inetpub\wwwroot\forum\adduser.php on line 198
Warning: mt_rand(): Invalid range: 0..0 in c:\inetpub\wwwroot\forum\adduser.php on line 199
the corresponding lines are
$one = intval(mt_rand(0,$chars));
$two = intval(mt_rand(0,$chars));
Is their anyway around them?
Thx in Adv.
NrG
btw: the file showmembers.php is missing in this version. dunno if it has to be or its a mistake.