RE: What to do when flush() doesn't?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ob_flush();Flush(); works for me.



-----Original Message-----
From: Jon Westcot [mailto:jon@xxxxxxxxxxx] 
Sent: Sunday, November 11, 2007 5:31 AM
To: PHP General
Subject:  What to do when flush() doesn't?

Hi all:

    I am trying to get information from a rather long-running PHP script to
send out messages to the client as things are being processed.  In reading
the manual, it seemed that using flush() was the ideal command for this.
Well, it doesn't seem to be working for me.  I've even tried sending over a
large number of blanks (like 4096 of 'em) before doing anything, but still
no go.

    The flush() activity is supposed to occur on a page that has POSTed back
to itself, so perhaps that's causing the heartburn?

    Any suggestions on how I can accomplish this type of user mollification?

    Thanks,

        Jon

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux