通讯录已经可以连接上了,但打开增加条目的页面之后,出现几行
Warning: Cannot add header information - headers already sent by (output started at /var/www/html/bbsal.php:323) in /var/www/html/www2-funcs.php on line 280
Warning: Cannot add header information - headers already sent by (output started at /var/www/html/bbsal.php:323) in /var/www/html/www2-funcs.php on line 281
Warning: Cannot add header information - headers already sent by (output started at /var/www/html/bbsal.php:323) in /var/www/html/www2-funcs.php on line 282
我按照提示,找到www2-funcs.php的280行附近,是
if ($scope=="nocache" || $scope=="no-cache") { //兼容 "no-cache" 的写法,不推荐
header("Expires: Thu, 19 Nov 1981 08:52:00 GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Pragma: no-cache");
return FALSE;
}
我把这段注释掉,刷新增加条目的页面,出现
Warning: Cannot add header information - headers already sent by (output started at /var/www/html/bbsal.php:323) in /var/www/html/www2-funcs.php on line 294
Warning: Cannot add header information - headers already sent by (output started at /var/www/html/bbsal.php:323) in /var/www/html/www2-funcs.php on line 295
我又按照提示,找到相应位置,是
header("Expires: " . gmt_date_format(time()+$expiretime));
header("Cache-Control: max-age=" . "$expiretime");
这里没有什么提示,是否也是注释掉就可以了?对其他功能的使用有没有影响?
--
FROM 221.192.210.*