Posted by comp.lang.php on 12/29/05 19:24
I wasn't ever sure what happened, so I deleted the file and copied over
an older version of "classes.inc.php" on a different server and the
headers problem went away instantly.
Weird.
Phil
Oli Filth wrote:
> comp.lang.php said the following on 29/12/2005 14:20:
> > I did just that, emptied "classes.inc.php" out to the following:
> >
> > <?php if (headers_sent()) print_r("headers sent"); ?>
> >
> > output: headers sent
> >
> > It generated headers even when the file was a 1-liner without any
> > content whatsoever!
>
> Well that implies that the headers must be being sent out by your main
> script (i.e. the one that includes classes.inc.php). Try the same
> approach with that file?
>
>
> --
> Oli
[Back to original message]
|