Re: cvs: php4 /ext/standard image.c php-master-web/fetch mirrors.php

From: Date: Fri, 08 Mar 2002 01:12:56 +0000
Subject: Re: cvs: php4 /ext/standard image.c php-master-web/fetch mirrors.php
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-9818@lists.php.net to get a copy of this message
On Fri, Mar 08, 2002 at 12:57:09AM -0000, Marcus Börger wrote : > helly Thu Mar 7 19:57:09 2002 EDT > > Modified files: > /php-master-web/fetch mirrors.php > /php4/ext/standard image.c > Log: > TIFF support for 'non' digicam files > > Index: php-master-web/fetch/mirrors.php > diff -u php-master-web/fetch/mirrors.php:1.1 php-master-web/fetch/mirrors.php:1.2 > --- php-master-web/fetch/mirrors.php:1.1 Fri Sep 21 15:01:08 2001 > +++ php-master-web/fetch/mirrors.php Thu Mar 7 19:57:07 2002 > @@ -7,7 +7,7 @@ > // Connect and generate the list from the DB > if (@mysql_connect("localhost","nobody","")) { > if (@mysql_select_db("php3")) { > - $res = @mysql_query("SELECT * FROM mirrors ORDER BY cc"); > + $res = @mysql_query("SELECT mirrors.*,country.name AS cname FROM mirrors LEFT JOIN > country ON mirrors.cc = country.id ORDER BY country.name,hostname"); > if ($res) { > echo "<?php\n\$MIRRORS = array(\n"; > while ($row = @mysql_fetch_array($res)) { Was it intended to let this slip through ? -- Please always Cc to me when replying to me on the lists. GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc

« previous php.cvs (#9818) next »