Re: Text Streaming in PHP
| From: | Robert Cummings | Date: | Mon, 31 May 2004 19:49:53 +0000 |
| Subject: | Re: Text Streaming in PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-187301@lists.php.net to get a copy of this message | ||
On Mon, 2004-05-31 at 15:28, Stephen Lake wrote:
> Hey All,
>
> I know I asked this before a couple of weeks ago, but I need a good swift
> kick in the right direction :D
>
> I need to know how to do a text stream in PHP.
> I have tried the following:
>
> while loop with flush and sleep functions
> HTTP/1.1 Connection: Stream (seems to work in the above while loop until you
> post something then its like it stalls completely)
Make sure output buffering is off... you may also need to pad output
since if I remember correctly some browsers do their own buffering (IE I
think).
Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com
|
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'