There is a problem I've run into many times before and now I'm trying to see if there is a solution to it. I have a chat log parser which takes about 100 different html pages, parses them and prints them. This is inside of a large foreach loop under CGI. It usually takes a good 5 minutes before it prints anything and when it does, it prints about half of it..then lags..then prints the rest.
Is there a way to make it print each new line INSTANTLY when it's down loading? Otherwise it looks like the script freezes.