<html>
<head>
<title>:: test</title>
</head>
<body>
<table>
<form name="hosts">
<tr><td>Loading status:</td><td>...</td><td><input name="loading" value="scanning..."></td></tr>
</table>
<?php
flush();
for ($x=0;$x<5;$x++) {
for ($a=1;$a<30;$a++) {
for ($b=1;$b<10000;$b++) { }
}
$status = ($x * 20)." %";
echo "<script>document.hosts.loading.value = \"$status\"</script>\n";
flush();
}
?>
</body>
</html>