Re: phpweb / downloads.php

From: Date: Sun, 19 May 2002 13:21:14 +0000
Subject: Re: phpweb / downloads.php
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-10322@lists.php.net to get a copy of this message
> <?php > $cm = find_closest_mirrors(); > $cmn = count($cm); > if ($cmn > 0) { > echo "We found "; > echo ($cmn > 1 ? "$cmn mirrors" : "a mirror"); > - echo " near you. We recommend you to use nearby mirror sites.\n"; > + echo " near you. We recommend that you use one of these.\n"; > echo " Please visit: "; > foreach ($cm as $num => $mirror) { > echo '<a href="' . $mirror . '">' . $mirror . > '</a>'; I already though changing that text to "one fo these" but first of all the number of detected mirrors can be one. Then the detected mirror can be a bit away, if the TLD turns out to be different than the country the guys is connecting from... So this was why I inserted a more general text there... Goba

« previous php.mirrors (#10322) next »