PHP 4.0 Bug #8710 Updated: Cannot add header information - headers information already sent ...

From: Date: Mon, 15 Jan 2001 13:53:09 +0000
Subject: PHP 4.0 Bug #8710 Updated: Cannot add header information - headers information already sent ...
Groups: php.dev 
Request: Send a blank email to php-dev+get-44117@lists.php.net to get a copy of this message
ID: 8710 User Update by: bbrizzio@libero.it Status: Open Bug Type: *General Issues 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 started in const.php". main.php: include("inc/const.php"); // constants definition ... header(...); // here I try to send an header const.php: define("WB","webmaster"); Previous Comments: --------------------------------------------------------------------------- [2001-01-15 08:50:27] bbrizzio@libero.it 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"); --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8710

« previous php.dev (#44117) next »