created a test page, put -just- ?php ob_start(); ? at the
top, then some lines of HTML, and loaded it. I got all the HTML code
displayed - shouldn't I have gotten a white screen since I had no ?php
ob_flush(); ? tag at the bottom? This isn't making sense. Then I tried
?php ob_start(ob_gzhandler
?php ob_start(ob_gzhandler); ? and ?php ob_flush(); ? at the
bottom - same results.
Am I doing something wrong? Shouldn't the ob_start() by itself just
load all output into a buffer and not display it until I call ob_flush
()? And how would I know if ob_gzhandler works? I'm running PHP
On Fri, 17 May 2002, Jason Soza wrote:
Am I doing something wrong? Shouldn't the ob_start() by itself just
load all output into a buffer and not display it until I call ob_flush
()?
Or when you get to the end of execution...
http://php.net/ob_implicit_flush
miguel
--
PHP General
, May 17, 2002 10:39 am
Subject: Re: [PHP] ob_start() and ob_gzhandler
On Fri, 17 May 2002, Jason Soza wrote:
Am I doing something wrong? Shouldn't the ob_start() by itself
just
load all output into a buffer and not display it until I call
ob_flush ()?
Or when you get to the end
output is really being
compressed by ob_gzhandler?
Jason Soza
- Original Message -
From: Miguel Cruz [EMAIL PROTECTED]
Date: Friday, May 17, 2002 10:39 am
Subject: Re: [PHP] ob_start() and ob_gzhandler
On Fri, 17 May 2002, Jason Soza wrote:
Am I doing something wrong? Shouldn't
On Saturday 18 May 2002 02:48, Jason Soza wrote:
Either way, is there any way to tell if my output is really being
compressed by ob_gzhandler?
If you have NN4.X use view source, if the source is empty then compression is
active.
If you're using some form of un*x then:
lynx --mime_header
6 matches
Mail list logo