Re: real time output

From: Date: Sat, 21 Dec 2002 10:30:25 +0000
Subject: Re: real time output
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-129054@lists.php.net to get a copy of this message
"Art Chevalier" <arthurc@scn.spawar.navy.mil> wrote in message news:20021217142740.91785.qmail@pb1.pair.com... > I want to start a native process and capture the output while it is being > generated and display it to the screen. I dont want to output to be > displayed on the screen all at once after the process completes. http://www.php.net/manual/en/ref.outcontrol.php However note the section in flush() that says, "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." This was my issue with using this capability of PHP...it didn't seem to work, like Perl's "$| = 1;" did on the same server (Unix Apache). The server's config has the output_buffering INI setting set to "no value". Seems odd since I got the Perl script to not buffer, which would imply it's not a browser issue. - Steve Yates - A fool and his money are soon popular. ~ Taglines by Taglinator - www.srtware.com ~

« previous php.general (#129054) next »