problem with ob_start() and header() in osCommerce cart

From: Date: Wed, 13 Dec 2006 16:11:57 +0000
Subject: problem with ob_start() and header() in osCommerce cart
Groups: php.general 
Request: Send a blank email to php-general+get-245803@lists.php.net to get a copy of this message
Hi, even it's problem with osCommerce cart I think it's still php question: there is a code in application_top.php file (this file is includeed in login.php page, all the way on the top of the login.php file wich means is "the first one") // Check if the browser supports gzip encoding, HTTP_ACCEPT_ENCODING if (strstr($HTTP_SERVER_VARS['HTTP_ACCEPT_ENCODING'], 'gzip')) { // Start output buffering, and register compress_output() (see // below) ob_start("compress_output"); // Tell the browser the content is compressed with gzip header("Content-Encoding: gzip"); } and I'm getting login.php as blank page. But, when I hide ob_start() and header() lines I will get login page but with Warning says "The Encryption key file is missing."?!?!? Any idea? -afan

« previous php.general (#245803) next »