note 45923 deleted from function.ob-gzhandler by nlopess

From: Date: Thu, 23 Sep 2004 17:38:43 +0000
Subject: note 45923 deleted from function.ob-gzhandler by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-77254@lists.php.net to get a copy of this message
Note Submitter: wingedpower at gmail dot com ---- Was trying out the gzcompress and was getting the blank page on the first load. After hitting up this forum and others for clues, I tried doing a n automated page reload on the first time through a header() statement with a $_SESSION[] variable to keep track of whether or not this was the "first" visit. In either case, in the course of messing around with it a bit, I found that when I added a session_start() at the start of the main index file before the ob_start() statement, I was getting the page to show up properly again on the first load. No blank initial blank pages. Btw, quickly becoming a big fan of compressed html considering some of the links pages I have are in the 50+KB size and become 10-12KB after compression. Wing Wong wingedpower@gmail.com http://www.polygon-comics.com

« previous php.notes (#77254) next »