Update of /cvsroot/php-blog/serendipity/plugins/serendipity_event_spamblock
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9242/plugins/serendipity_event_spamblock
Modified Files:
Tag: branch-0-7
serendipity_event_spamblock.php
Log Message:
mfh
Index: serendipity_event_spamblock.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php,v
retrieving revision 1.25.2.3
retrieving revision 1.25.2.4
diff -u -d -r1.25.2.3 -r1.25.2.4
--- serendipity_event_spamblock.php 1 Dec 2004 16:51:09 -0000 1.25.2.3
+++ serendipity_event_spamblock.php 1 Dec 2004 17:31:42 -0000 1.25.2.4
@@ -395,8 +395,10 @@
return;
}
- srand(microtime());
- mt_srand(microtime());
+ list($musec, $msec) = explode(' ', microtime());
+ $srand = (float) $sec + ((float) $usec * 100000);
+ srand($srand);
+ mt_srand($srand);
$width = 120;
$height = 40;
|