Frederik Feys wrote:

Hi Frederik,

Warning: Cannot add header information - headers already sent by (output
started at
/usr/local/www/vhosts/aurelis.org/htdocs/header_aurelis.php:95) in
/usr/local/www/vhosts/aurelis.org/htdocs/store/includes/functions/get_ca
rtID.php on line 14

Can anyone shed some light on this?

You already have had the right answer, but I think you could consider adding this line at the top of your PHP script:


ob_start( "ob_gzhandler" );

this enables HTML compression (on browsers that support it) and allows a much more flexible headers handling because text is sent back to the browser when your page is complete.

Ciao,

Fabio


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to