From:             [EMAIL PROTECTED]
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



-- 
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