具体如下:
\n";
for ($i = 0; $i < 25; $i++) {
$d = $d + 11;
$m=$d+10;
//This div will show loading percents
echo '' . $i*4 . '% complete';
//This div will show progress bar
echo ' ';
flush();
ob_flush();
sleep(1);
}
ob_end_flush();
?>
Done.