What to do when flush() doesn't?

From: Date: Sun, 11 Nov 2007 11:31:11 +0000
Subject: What to do when flush() doesn't?
Groups: php.general 
Request: Send a blank email to php-general+get-264315@lists.php.net to get a copy of this message
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

« previous php.general (#264315) next »