/[dolibarr]/dolibarr/htdocs/telephonie/script/retour-check.php
ViewVC logotype

Diff of /dolibarr/htdocs/telephonie/script/retour-check.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by rodolphe, Mon Oct 17 18:18:05 2005 UTC revision 1.4 by rodolphe, Mon Oct 17 18:18:55 2005 UTC
# Line 96  Function check_file($db,$dir,$file) Line 96  Function check_file($db,$dir,$file)
96    $line = 0;    $line = 0;
97    $hf = fopen ($dir.$file, "r");    $hf = fopen ($dir.$file, "r");
98    
99      $ok = 0;
100      $nok = 0;
101    
102    while (!feof($hf))    while (!feof($hf))
103      {      {
104        $cont = fgets($hf, 1024);        $cont = fgets($hf, 1024);
# Line 135  Function check_file($db,$dir,$file) Line 138  Function check_file($db,$dir,$file)
138    
139    print "ok      : $ok\n";    print "ok      : $ok\n";
140    print "erreurs : $nok\n";    print "erreurs : $nok\n";
141    print "$lignes : $line\n";    print "lignes : $line\n";
142    return $error;    return $error;
143    
144    

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

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26