headers already sent-cookie-ob_flush()

From: Date: Tue, 15 Jul 2003 08:27:18 +0000
Subject: headers already sent-cookie-ob_flush()
Groups: php.general 
Request: Send a blank email to php-general+get-155241@lists.php.net to get a copy of this message
Hi all, This is what i get: "Warning: Cannot add header information - headers already sent by (output started at /home/u/r/html/store/cart.php:188) in /home/u/r/html/store/includes/functions/get_cartID.php on line 14" I know that the problem is the reading of the cookie and then after some sripting outputting page HTML. I started my code ob_start() and do an ob_flush() within a function(show_cart) (?might that be a problem?) Can anyone shed some light on this? Thanks! Fred

« previous php.general (#155241) next »