On Fri, Feb 11, 2011 at 4:05 AM, Tolas Anon <tolas777@xxxxxxxxx> wrote: > Hi.. > > For my curl_exec problem, > http://readlist.com/lists/lists.php.net/php-general/16/81195.html > http://curl.haxx.se/mail/lib-2011-02/0101.html > > I need to know if this simple test will cause data to be sent every 25 > seconds _over the wire_. > > <?php > set_time_limit (0); > error_reporting (E_ALL); > for ($i=0; $i<((3600+1800)/25); $i++) { > echo '.'; > ob_flush(); > sleep (25); > }; > echo "wanted-data"; > ?> > > reason; i just can't get my media import routines that only send > sporadic status messages to work for big video files. > well, first off i should be using php:flush() instead of php:ob_flush() in my simple test. second; http://www.php.net/manual/en/function.flush.php : .... Several servers, especially on Win32, will still buffer the output from your script until it terminates before transmitting the results to the browser. ..... aargh.. well, i'll have to dig deep here. will inform you of any relevant progress, digest style -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php