You cannot send any page information before you send headers (ie setting a cookie), that means there should be no html before the php that sets the cookie, also any function that are called before you set the cookie cannot output to the browser.
Ry On 15/7/03 9:45 am, "frederik feys" <[EMAIL PROTECTED]> wrote: > 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 > > > > Ryan Gibson ----------- [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php