PHP 4.0 Bug #8710: Cannot add header information - headers information already sent ...
| From: | bbrizzio at libero dot it | Date: | Mon, 15 Jan 2001 13:50:27 +0000 |
| Subject: | PHP 4.0 Bug #8710: Cannot add header information - headers information already sent ... | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-44116@lists.php.net to get a copy of this message | ||
From: bbrizzio@libero.it
Operating system: linux
PHP version: 4.0.4
PHP Bug Type: *General Issues
Bug description: Cannot add header information - headers information already sent ...
If I define a constant in external files (require or include) PHP give me "headers already sent
by main.php", "output stated in const.php".
main.php:
include("inc/const.php"); // constants definition
...
header(...); // here I try to send an header
const.php:
define("WB","webmaster");
--
Edit Bug report at: http://bugs.php.net/?id=8710&edit=1