ob_flush, does it cause data to be sent over the wire immediately?

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

 



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.

-- 
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