Random numbers are often useful - but those are these pseudo random numbers really random?
my
৺captcha script was based on the rand() function. Since ive ported my side from apache to the
৺IIS it wasn real random...
now i found the function
৺mt_rand which brought back a good randomness.
Heres a compare of rand and
৺mt_rand:

using rand() - not really random...

using mt_rand() - better ....
Heres the code, used for the pictures. Creating random numbers between 0 and 1 shows the real power of a random function:
<?
// Requires the GD Library
header("Content-type: image/png"); or
die("Cannot Initialize new GD image stream");for ($y=0; $y<512; $y++) {
for ($x=0; $x<512; $x++) {
}
}
}
?>