ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-general
php-general
[PHP] problem with ob_start() and header() in osCommerce cart
by afan other posts by this author
Dec 13 2006 8:14AM messages near this date
Re: [PHP] Re: (SOLVED) Varying session behavior between 2 nearly identical Apache/PHP setups | Re: [PHP] problem with ob_start() and header() in osCommerce cart
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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thread:
afan
Jochem Maas
afan
Youri LACAN-BARTLEY
afan

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved