function countlines($list,$ctr) {clearstatcache(); if (file_exists($list)) { $lines = file($list); while(list($key, $val) = each($lines)) { if (stristr ($val, "")) { $ctr++; } } } if ($ctr > 0) return("(".$ctr.")");} ?>
You are cool. |
joined technorati
Technorati Profile