cvs: php-master-web /scripts ip-to-country

From: Date: Tue, 29 Jun 2004 19:06:44 +0000
Subject: cvs: php-master-web /scripts ip-to-country
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-25171@lists.php.net to get a copy of this message
goba Tue Jun 29 15:06:44 2004 EDT Modified files: /php-master-web/scripts ip-to-country Log: properly check if proper format is downloaded http://cvs.php.net/diff.php/php-master-web/scripts/ip-to-country?r1=1.6&r2=1.7&ty=u Index: php-master-web/scripts/ip-to-country diff -u php-master-web/scripts/ip-to-country:1.6 php-master-web/scripts/ip-to-country:1.7 --- php-master-web/scripts/ip-to-country:1.6 Tue Jun 29 13:41:43 2004 +++ php-master-web/scripts/ip-to-country Tue Jun 29 15:06:44 2004 @@ -91,7 +91,12 @@ fclose($ipdbf); fclose($ipdbcf); - mail("goba@php.net", "ip-to-country: proper format", ""); + if ($fileok) { + mail("goba@php.net", "ip-to-country: proper format", ""); + } + else { + mail("goba@php.net", "ip-to-country: improper format", ""); + } // Remove the temp file. If the data is ok, move // it to the destination, or else delete that too

« previous php.mirrors (#25171) next »