note 45923 added to function.ob-gzhandler
| From: | wingedpower at gmail dot com | Date: | Thu, 23 Sep 2004 17:27:32 +0000 |
| Subject: | note 45923 added to function.ob-gzhandler | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-77253@lists.php.net to get a copy of this message | ||
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
----
Manual Page -- http://www.php.net/manual/en/function.ob-gzhandler.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+45923
Delete -- http://master.php.net/manage/user-notes.php?action=delete+45923&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+45923&report=yes
Search -- http://master.php.net/manage/user-notes.php