Index: /trunk/bin/alternc_stats_web.php
===================================================================
--- /trunk/bin/alternc_stats_web.php	(revision 1389)
+++ /trunk/bin/alternc_stats_web.php	(revision 1390)
@@ -65,4 +65,6 @@
 }
 
+$total_hits = $total_good = 0;
+
 // process all logfiles
 foreach ($argv as $file) {
@@ -88,5 +90,8 @@
   }
 
-$i=0; $l=0;
+$i = $l= $good = 0;
+
+ $total_hits += $l;
+ $total_good += $good;
 
 $domstat=array(); // On stocke sous forme de clé "dom/day" => "hit or bandwith"
@@ -140,5 +145,5 @@
 
 // insérer les lignes qui n'avaient pas rempli un bloc
-if ($verbose) echo "\n$l lines read ($good good)\nInserting remaining lines... ";
+if ($verbose) echo "\nInserting remaining lines... ";
  insert_stuff($domstat, &$domuid); 
  $domstat = array();
@@ -147,4 +152,6 @@
  
 }
+
+if ($verbose) echo "\n$l lines read ($good good)\n";
 
 // handy function to avoid a copy-paste
@@ -175,3 +182,5 @@
 }
 
+if ($verbose) echo "\n$total_hits lines read ($total_good good)\n";
+
 ?>
