cvs: phpweb / downloads.php

From: Date: Mon, 22 Jul 2002 23:24:32 +0000
Subject: cvs: phpweb / downloads.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-11457@lists.php.net to get a copy of this message
mk Mon Jul 22 19:24:32 2002 EDT Modified files: /phpweb downloads.php Log: Hopyfully fix those srand() errors Index: phpweb/downloads.php diff -u phpweb/downloads.php:1.119 phpweb/downloads.php:1.120 --- phpweb/downloads.php:1.119 Mon Jul 22 14:48:27 2002 +++ phpweb/downloads.php Mon Jul 22 19:24:32 2002 @@ -78,7 +78,7 @@ $mirror = $cm[0]; } else { echo "You can change mirrors at the bottom of the page."; - srand(); + srand ((double)microtime()*1000000); if ($server == "www.php.net") { $default_mirrors = array("http://us2.php.net/", "http://ca.php.net", "http://us3.php.net");

« previous php.mirrors (#11457) next »