PHP实现 记录网站访问量

代码以下 $file = dirname(__FILE__).'/tongji.db'; //$data = unserialize(file_get_contents($file)); $fp=fopen($file,'r+'); $content=''; if (flock($fp,LOCK_EX)){ while (($buffer=fgets($fp,1024))!=false){ $c
相关文章
相关标签/搜索