Re: [PHP] buffers...

2001-09-27 Thread * RzE:

Original message
From: Nic Skitt [EMAIL PROTECTED]
Date: Thu, Sep 27, 2001 at 02:13:52PM +0100
Message-ID: [EMAIL PROTECTED]
Subject: [PHP] buffers...

 Hi all,
 
 how do you flush the buffer in PHP?
 
 IE, running through code but wanting to output to the browser at specific
 points, in a while loop for instance.
 
 Cheers
 
 Nic

/Original message

Reply

It's in the manual:

void flush (void)
see: http://www.php.net/manual/en/function.flush.php

/Reply

-- 

* RzE:


-- 
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
--
-- Stationsplein 82
-- 2011 LM  HAARLEM
-- Netherlands
--
-- http://www.datalink.nl
-- 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] buffers ...

2001-09-27 Thread Mark Charette

Flush() is the right call, but please note (from the manual):
--
Note: flush() has no effect on the buffering scheme of your webserver or the
browser on the client side.
Several servers, especially on Win32, will still buffer the output from your
script until it terminates before transmitting the results to the browser.
Even the browser may buffer its input before displaying it. Netscape, for
example, buffers text until it receives an end-of-line or the beginning of a
tag, and it won't render tables until the /table tag of the outermost
table is seen.
---
Mark C.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]