|
Posted by comp.lang.php on 12/28/05 23:47
[PHP]
<?php if (headers_sent()) print_r('headers sent');
// do other stuff
?>
[/PHP]
I have a file, "classes.inc.php", a library of PHP version 4+ classes.
This library file, the moment it is included, causes headers to be
generated into the HTTP headers! I have no explanation as to how it
does that, it just does that! I have tried everything I can think of,
removing extraneous whitespace, using PICO, deleting and recreating the
file in PICO, to no avail. There is no instance of print_r, echo,
sprintf, nothing anywhere in any of the classes in the file.
I am out of ideas as to what to do at this point! HELP!
Thanx
Phil
Navigation:
[Reply to this message]
|