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. | `------------------------------------------------------------' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php