The output buffer on or off does not matter. If there is nothing sent, there is nothing sent. If you have just a space, a new line, in one of included files and before <?php ... that will be considered an header sent (the default one, usually) every echo before the header will be considered an header sent. output after, and headers before, should usually be the last thing ever to send to the client, in any case (let's say tomorrow the same page should generate a PDF rather than HTML, you overwrite headers? bad practice and problems with some version of IE quite for sure) The only thing I could think about, common empty spaces problem a part, is a prepended file or a forced header for every request. To test this you simply need to create a file like this: <?php header('Content-Type: text/javascript'); echo 'alert("ok")'; ?> If that page generates an header you could have UTF-8 BOM problems, a prepended file in the Apache configuration which is broken/bugged/crap, or something truly bad in the configuration. > Date: Tue, 31 Mar 2009 10:20:24 -0300 > From: titiolinkin@xxxxxxxxx > To: phpster@xxxxxxxxx > CC: php-general@xxxxxxxxxxxxx > Subject: Re: Problem with header(); > > I don't had the oportunity to test it yet, but today i will. > > Today i will make two tests: > > - Save the files without BOM. > - If i dont have success i will disable the output buffering. > > Thanks to everybody for all support. > > Regards, > Igor Escobar > systems analyst & interface designer > www . igorescobar . com > > > > On Tue, Mar 31, 2009 at 12:39 AM, Phpster <phpster@xxxxxxxxx> wrote: > > > Output buffering turned off? > > > > Bastien > > > > Sent from my iPod > > > > > > On Mar 30, 2009, at 15:03, Igor Escobar <titiolinkin@xxxxxxxxx> wrote: > > > > Hi guys, probably everybody goes think: "its the same problem ever" HTML > >> before header() functions ... but it is not. > >> > >> I has working on a project and this are a running in "Windows" (shame on > >> me). > >> Recently i migrate to *Ubuntu *and some problems occurred and that > >> specifically i can't understand WHY this rappening > >> > >> "Warning: Cannot modify *header* information - headers already sent by" > >> > >> On my web server on the internet it's OK > >> On my local web server on my work it's OK > >> On my loca web server on my notebook it's the problem. > >> > >> This error occurs only in my notebook (recently that I migrate to linux > >> and > >> it does not already). > >> > >> Please, someone have any idea what the fuck is happening? > >> > >> Regards, > >> Igor Escobar > >> systems analyst & interface designer > >> www . igorescobar . com > >> > > _________________________________________________________________ Drag n’ drop—Get easy photo sharing with Windows Live™ Photos. http://www.microsoft.com/windows/windowslive/products/photos.aspx