Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, October 16, 2026

Diff for scripts/php/sk-nic/sk-nic.php between version 1.4 and 1.5

version 1.4, 2007/03/14 00:25:27 version 1.5, 2007/03/14 19:04:05
Line 13 
Line 13 
  *   *
  */   */
   
 /* $Platon: scripts/php/sk-nic/sk-nic.php,v 1.3 2007-03-12 04:47:23 nepto Exp $ */  /* $Platon: scripts/php/sk-nic/sk-nic.php,v 1.4 2007-03-14 00:25:27 nepto Exp $ */
   
   
 error_reporting(E_ALL);  error_reporting(E_ALL);
Line 41  $sk_nic = new SK_NIC($dsn);
Line 41  $sk_nic = new SK_NIC($dsn);
 if ($sk_nic->doImport($filename)) {  if ($sk_nic->doImport($filename)) {
         $sk_nic->writeStats();          $sk_nic->writeStats();
         $changed_records = $sk_nic->doComparison();          $changed_records = $sk_nic->doComparison();
         printf('Total %d changed records.'."\n", $changed_records);          if ($changed_records <= 100) {
                   printf('WARNING: too less changed records: %d'."\n", $changed_records);
           } elseif ($changed_records >= 50000) {
                   printf('WARNING: too many changed records: %d'."\n", $changed_records);
           }
 } else {  } else {
         die('Imported file is too old.'."\n");          die('Imported file is too old.'."\n");
 }  }

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top