
matthijs - 2005-12-13 07:51:08
Hi Israel,
I noticed that when using this class, every time a page is visited for the first time and/or for the first time by a user agent, the following errors are displayed:
Notice: Undefined variable: found in /home/httpd/vhosts/mydomain.nl/subdomains/test/httpdocs/stats/accessControl.class.php on line 87
Notice: Undefined variable: found in /home/httpd/vhosts/mydomain.nl/subdomains/test/httpdocs/stats/accessControl.class.php on line 124
Line 87 is:
if (!$found)
$this->arr[] = $str . "\t0\t0\t0\n";
$this->_processLog($desc);
fclose($desc);
}
Line 124 is:
if (!$found)
$this->arr[] = $str . "\t0\t$ind\n";
$this->_processLog($desc);
fclose($desc);
}
Any suggestions?
Thanks,
Matthijs