Hey, I'm new at Apache and whatnot, so bear with me. I have my own web server, and when I run a script with a large loop like this: for ($i=0;$i<1000;$i++) { echo "text<br />"; } PHP: It loads for about 30 seconds, then shows the page all of a sudden. e.g. (30 sec later)... Text Text Text Text Text Text But on a professional web host, it shows the result one by one as it loads. e.g Text (1 sec later)... Text (1 sec later)... Text Does this have something to do with my configurations?
You can also put that configuration option in your php.ini file but having it in the code means that the script will perform the same even if you move it to a host without implicit flushing.