Re: [PHP] Cannot modify header information - headers already sent by ...
- Date: Mon, 21 Apr 2008 09:32:16 -0700
- From: mike <mike503@xxxxxxxxx>
- Subject: Re: [PHP] Cannot modify header information - headers already sent by ...
this also should not be an issue if you have output buffering turned on.
PHP is great, it will make sure to send the headers *first* then.
but yes, whitespace sucks as well. it makes IE's CSS flake out weird
sometimes. there's multiple reasons to write clean code :)
> > On Mon, Apr 21, 2008 at 11:33 AM, Waynn Lue <waynnlue@xxxxxxxxx> wrote:
> > > I fixed this last time by looking for white space both before and
> > > after the opening and closing php tags, as a Google search had
> > > revealed. But this time, I've spent an hour running down various
> > > files and not seeing what the heck is wrong. Here's the essential
> > > setup.
> > >
> > > main.php
> > > <?
> > >
> > > require_once 'shared_style.php';
> > > require_once 'something.php'
> > >
> > > ?>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php