---
title: "发现使用phpAdmin更新数据的一个bug!"
author: "colen"
date: "2007-10-31T16:07:00Z"
tags: []
slug: "phpadmin-bug"
draft: false
lastmod: "2007-10-31T16:07:00Z"
id: 571920
url: "https://colen.iteye.com/blog/571920"
---

在使用phpAdmin更新[我的图书网](http://www.mytushu.com)的数据时, 经常会出现"Cannot modify header information - headers already sent by"的错误,我发现,只有在"update"语句时，这种情况就会频繁的发生,而如果select, delete却不会, 后来googling了一些, 大部分帖子所提供的解决方式都是修改php.ini,在里面加上这么一行:output\_buffering = on.

由于不是搞PHP出身的,不是太懂这句话的意思, 但还是把它放了进去. 问题是, 为什么phpAdmin自己不把这个buffering打开呢? 是为了保证整体运行的性能? 还是是一个bug?

无从查证!