Re: [PHP] referer counter (scope part)
At 11:29 12-6-03, you wrote: function ref($url) { $this->incr($pc,$fp,$nc); $this->write($nc,$cfile); } function incr($pc,$fp,&$nc) { if($pc != "")
[PHP] referer counter
Hi guys, I am writing a counter that checks where the hit comes from, and if it comes from the same site, it will not count . I have a question related to performance: In the script (as yet) I have to open the txt file twice at this stage, because I first need to read from it and then write to it