Kommer du ihåg
10 print "Hej" 20 goto 10
Så här gör man i PHP
<?php
$amount_of_files = "100";
set_time_limit(0); //remove timeouts so that the script does not halt after 60 seconds
for ($x=0;$x<=$amount_of_files;$x++){
sleep(1);
echo "Det här är ett skript som printar text på skärmen<br>";
sleep(10);
flush();
}
?>
0 Responses
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.