Lines Matching refs:line
36 while ($line = fgetcsv($log, 900)) { // Is 900 okay for max line length?
37 if (!isset($this->data[$line[1]])) {
38 $this->data[$line[1]] = array(
43 $this->data[$line[1]]['count'] ++;
44 if (count($line) === 4) {
47 $this->data[$line[1]]['hits'][] = array(
48 'date' => $line[0],
50 'referer' => $line[2],
51 'user_agent' => $line[3],
56 $this->data[$line[1]]['hits'][] = array(
57 'date' => $line[0],
58 'ip' => $line[2],
59 'referer' => $line[3],
60 'user_agent' => $line[4],
95 $line = array(
102 fputcsv($logTemp, $line);