原帖由 cheungtony 于 2005-9-28 10:01 发表
運行幾次之後, 有以下錯誤訊息
Warning : Cannot modify header information - header already sent by (output started at ../macher.php:1) in .../included/common.php on line 164)
安装过用户访问记录HACK的会有冲突...在使用时请将COMMON.PHP文件内
- if($discuz_uid) {
- $interval_minutes = 3;//记录更新时间间隔,单位为“分钟”
- if($timestamp >= ($_COOKIE['logintime'] + 60*$interval_minutes)) {
- @$fp = fopen(DISCUZ_ROOT.'./forumdata/visitlog.php', 'a');
- @flock($fp, 2);
- @fwrite($fp, "$timestamp\t$discuz_user\t$onlineip\tCookie\n");
- @fclose($fp);
- setcookie('logintime', $timestamp, $timestamp + 86400 * 365, $cookiepath, $cookiedomain);
- }
- }
复制代码
这段加注释.... |