Re: finding the closest mirror

From: Date: Sun, 26 May 2002 00:48:23 +0000
Subject: Re: finding the closest mirror
References: 1 2 3  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-10461@lists.php.net to get a copy of this message
On Sat, May 25, 2002 at 04:55:34PM -0700, Jim Winstead wrote: > On Sat, May 25, 2002 at 04:30:38PM -0700, Rasmus Lerdorf wrote: > > Worked nicely for me. Seemed fast too. > it should be, there's no reverse-dns lookup involved. (it's just a > binary search on a ~1MB data file based on the ip address.) I get this: Warning: Wrong parameter count for preg_replace() in /home/jimw/public_html/closest-mirror.php on line 10 ip: country code: US ..i'm located in Norway, and my IP is 217.8.158.164... I'm also connecting through a transparent squid proxy, so my REMOTE_ADDR probably isn't the IP above, but 172.16.0.11... -- Trond Arve Nordheim - "This message is ROT13-encrypted twice for extra security."

« previous php.mirrors (#10461) next »