I do a sample test for PHP buffer control.I hope "welcome" appear first and after 20 second "successful" appear.
the code is here:
<?php
ob_start();
echo "welcome !!<br>";
ob_flush();
//
sleep(20);
echo "successful";
?>
but it do not work.the two word appear at same time after 20 second.
Please let me know how to use buffer control with PHP.
thanks a lot.