Hello, I am using sleep function for giving break to CPU, <?php // current time echo date('h:i:s') . "\n"; ob_implicit_flush(true); // sleep for 10 seconds sleep(10); // wake up ! echo date('h:i:s') . "\n"; ob_implicit_flush(true); // sleep for 10 seconds sleep(10); // wake up ! echo date('h:i:s') . "\n"; ?> Mean it will work like realtime output, any suggestions?
you need to declare ob_implicit_flush at the top of the page and then after each echo you need to put ob_flush() statement and then sleep funtion.
Alternativately you can add flush() after each echo "string"; Купить Ð¾Ñ„Ð¸Ñ Ð² Киеве Продать Ð¾Ñ„Ð¸Ñ Ð² Киеве Ðрендовать Ð¾Ñ„Ð¸Ñ Ð² Киеве СнÑть Ð¾Ñ„Ð¸Ñ Ð² Киеве Сдать Ð¾Ñ„Ð¸Ñ Ð² Киеве