最令PHP初学者头痛的十四个问题
2010年07月26日
by 江小邪
0 comments
2010年07月26日
by 江小邪
0 comments
2010年05月23日
by 江小邪
0 comments
mysql my.cnf文件常见优化模块
[mysqld]
port = 3306
server-id = 1
socket = /tmp/mysql.sock
# 避免MySQL的外部锁定,减少出错几率增强稳定性。
skip-locking
# 禁止MySQL对外部连接进行DNS解析
skip-name-resolve
# 指定MySQL可能的连接数量
back_log = 256
(更多…)
2007年03月21日
by 江小邪
0 comments
本文讨论的是如何彻底杜绝warning: Cannot add header information – headers already sent in…… 这种令人莫明其妙的的错误。
只要你写过PHP代码,相信都遇上过这个大多时候都令人莫明其妙的warning吧..今天我们就来搞定它……………
看了PHP手册,回答如下:
消息“Warning: Cannot send session cookie – headers already sent。。。”或者“Cannot add header information – headers already sent。。。”。 (更多…)
标签Tags:cookie, PHP, PHP, session, 彻底杜绝, 错误