ID: 8710
User Update by: [EMAIL PROTECTED]
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] [EMAIL PROTECTED]
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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to